A detailed comparison of #ECEC27 and #EC2727 — adjacent colors
background: linear-gradient(to right, #ECEC27, #EC2727);
With a contrast ratio of 3.4: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.