#DFA828 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#dfa828 is a saturated golden yellow that commands attention with an immediate, glowing intensity. This hex code works best as a punchy accent color in small doses rather than a full background, where it can become overwhelming. Pair it with deep charcoal or navy blue to sharpen its edges. It remains highly readable with black text for accessible, high-contrast calls to action.
Questions about #dfa828
What is #dfa828 in RGB, HSL and CMYK?
In RGB, #dfa828 is rgb(223, 168, 40), in HSL hsl(42, 74%, 52%) and in CMYK 0%, 25%, 82%, 13%. Browse more shades of yellow with names and hex codes.
How can I effectively use #dfa828 in a design layout?
#dfa828 acts best as a high-impact accent color rather than a primary background because of its intense saturation. It draws immediate attention to buttons or key interface elements when paired with high-contrast text like black or charcoal.
What colors pair best with #dfa828 for a balanced palette?
This golden yellow looks sharp and professional when grounded by deep, cool tones that settle its high energy. Complement your design with navy or charcoal to create a sophisticated balance that makes the yellow stand out without overwhelming the viewer.
Is #dfa828 readable on white or black?
#dfa828 has a 2.14:1 contrast ratio on white and 9.76: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.