#ECCC2C Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #eccc2c graphic
This saturated, sunny yellow commands attention and works best as a punchy accent color rather than a primary background. Its high intensity brings an undeniable sense of urgency, making it a natural fit for sale banners and discount alerts. Because black text maintains a high contrast ratio against #eccc2c, it remains legible for critical UI elements. The hex code for this spirited shade is #eccc2c.

Questions about #eccc2c

What is #eccc2c in RGB, HSL and CMYK?
In RGB, #eccc2c is rgb(236, 204, 44), in HSL hsl(50, 83%, 55%) and in CMYK 0%, 14%, 81%, 7%. Browse more shades of yellow with names and hex codes.
When should I use #eccc2c in a user interface?
Use #eccc2c primarily for high-urgency UI elements like sale banners, discount call-to-actions, or error warnings where immediate attention is required. Because this shade is highly saturated, it works best as a sharp accent rather than a large background block.
Is #eccc2c readable on white or black?
#eccc2c has a 1.58:1 contrast ratio on white and 13.24:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.