#D7D420 Hex Color

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

Hex color #d7d420 graphic
This aggressive, neon-leaning yellow radiates high energy and artificial brightness. Due to its intense saturation, #d7d420 overwhelms large areas, so it serves best as a tactical 10% accent rather than a background. Use it against deep charcoal or black for high-impact readability, as it offers excellent contrast. Designers often rely on the hex code #d7d420 for alert badges, sale callouts, or other attention-grabbing interface elements.

Questions about #d7d420

What is #d7d420 in RGB, HSL and CMYK?
In RGB, #d7d420 is rgb(215, 212, 32), in HSL hsl(59, 74%, 48%) and in CMYK 0%, 1%, 85%, 16%. Browse more shades of yellow with names and hex codes.
What is the best way to use #d7d420 in interface design?
Use #d7d420 sparingly as a 10% accent color, such as for alert badges or call-to-action buttons, rather than as a background. It provides excellent readability against dark, neutral tones like charcoal, ensuring your interface elements stand out without causing visual fatigue.
Does #d7d420 work well for text?
Avoid using #d7d420 for body text because its high brightness and neon saturation reduce legibility against light backgrounds. Instead, reserve it for high-impact UI elements where contrast is critical, or use it over deep, dark backgrounds to maximize its striking visual pop.
Is #d7d420 readable on white or black?
#d7d420 has a 1.57:1 contrast ratio on white and 13.32: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.