#C9AF04 Hex Color

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

Hex color #c9af04 graphic
#c9af04 is a high-energy mustard yellow with a slightly muted, earthy golden undertone. Because it is so saturated, use it as a 10% accent color for calls-to-action rather than a large background. It pairs exceptionally well with deep charcoal or slate gray to ground its brightness. Black text reads clearly against this hex code, ensuring your designs remain accessible.

Questions about #c9af04

What is #c9af04 in RGB, HSL and CMYK?
In RGB, #c9af04 is rgb(201, 175, 4), in HSL hsl(52, 96%, 40%) and in CMYK 0%, 13%, 98%, 21%.
How should I use #c9af04 in a web interface?
Because #c9af04 is a high-saturation mustard yellow, it performs best as a strategic 10% accent color for buttons or calls-to-action rather than as a background. Using it sparingly keeps your design from becoming overwhelming while retaining its visual impact.
What colors pair best with #c9af04?
This hue pairs exceptionally well with charcoal or deep slate gray to ground its natural brightness. These dark neutrals provide the necessary contrast to make the golden yellow stand out without clashing against lighter, softer tones in your interface.
Is #c9af04 readable on white or black?
#c9af04 has a 2.18:1 contrast ratio on white and 9.61: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.