#DEC20E Hex Color

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

Hex color #dec20e graphic
#dec20e is a high-energy yellow with a distinctly metallic, greenish warmth. Because of its intensity, it functions best as an accent color for calls-to-action or sale banners rather than a large-scale background. It pairs exceptionally well with deep charcoal or navy text, which ensures maximum readability and keeps the overall design grounded. The hex code for this vivid shade is #dec20e.

Questions about #dec20e

What is #dec20e in RGB, HSL and CMYK?
In RGB, #dec20e is rgb(222, 194, 14), in HSL hsl(52, 88%, 46%) and in CMYK 0%, 13%, 94%, 13%. Browse more shades of yellow with names and hex codes.
Why does #dec20e work best as an accent color?
Because #dec20e is highly saturated and intense, using it across large backgrounds can overwhelm the viewer and cause eye strain. It serves its purpose best when drawing the eye to specific, high-priority UI elements like buttons or notification badges.
Is #dec20e readable on white or black?
#dec20e has a 1.77:1 contrast ratio on white and 11.82: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.