#DCD21A Hex Color

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

Hex color #dcd21a graphic
Reach for this bright yellow when a sale banner or safety sign needs to stop people mid-scroll. #dcd21a is loud and warm, with a faint green edge that keeps it from reading pure gold. It works best as an accent against charcoal or navy, since it overwhelms large areas. Black text stays readable on it at about 13.3:1 contrast.

Questions about #dcd21a

What is #dcd21a in RGB, HSL and CMYK?
In RGB, #dcd21a is rgb(220, 210, 26), in HSL hsl(57, 79%, 48%) and in CMYK 0%, 5%, 88%, 14%. Browse more shades of yellow with names and hex codes.
What colors pair well with #dcd21a?
Charcoal and navy give this yellow the contrast it needs, while burgundy makes a surprisingly rich pairing for packaging and posters. Avoid soft pastels, which wash it out. Use it sparingly, around 10 percent of a layout, so its energy stays sharp.
Can #dcd21a be used as a background color?
Yes, with black text it passes easily at about 13.3:1 contrast, well above the 4.5:1 minimum for body copy. White text fails badly on it, so keep type dark. Full backgrounds work for short promo blocks, not long reading areas.
Is #dcd21a readable on white or black?
#dcd21a has a 1.58:1 contrast ratio on white and 13.27: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.