A detailed comparison of #D5C620 and #BA431C — analogous colors
background: linear-gradient(to right, #D5C620, #BA431C);
With a contrast ratio of 3.05:1, this pair passes WCAG AA for large text only. Avoid using this combination for body text. Consider it for headings, decorative elements, or adjacent UI regions.
These colors have a 40\u00B0 hue difference, making them analogous. They create a harmonious, cohesive palette ideal for subtle variations in a design system.