#ECC051 Hex Color

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

Hex color #ecc051 graphic
This warm, golden yellow projects an optimistic energy that works well for attention-grabbing calls to action or bright accent elements. The hex code #ecc051 provides strong contrast against black text, making it a reliable choice for readable UI components. Use this saturated hue sparingly as a 10% accent color, as it can overwhelm a layout if used as a primary background.

Questions about #ecc051

What is #ecc051 in RGB, HSL and CMYK?
In RGB, #ecc051 is rgb(236, 192, 81), in HSL hsl(43, 80%, 62%) and in CMYK 0%, 19%, 66%, 7%. Browse more shades of yellow with names and hex codes.
How should I use #ecc051 in a UI design?
Apply #ecc051 sparingly as a ten percent accent color to avoid overwhelming your layout. It creates excellent contrast against dark backgrounds or bold charcoal text, making it highly effective for call to action buttons or alert indicators.
What colors pair well with #ecc051?
This golden yellow creates a sophisticated balance when paired with deep navy blues, providing a classic complementary contrast. For a more modern and grounded look, combine it with neutral charcoal or soft off-white tones to keep the design readable and balanced.
Is #ecc051 readable on white or black?
#ecc051 has a 1.71:1 contrast ratio on white and 12.22: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.