A detailed comparison of #D5D520 and #D52020 — adjacent colors
background: linear-gradient(to right, #D5D520, #D52020);
With a contrast ratio of 3.3: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 60\u00B0 hue difference, making them adjacent. They offer moderate contrast — versatile for card designs, illustrations, and layered UI compositions.