#CFA407 Hex Color

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

Hex color #cfa407 graphic
A warm, saturated ochre with strong golden undertones, this color commands attention. It works best as an accent rather than a background because of its high intensity. Pair #cfa407 with charcoal grays for a clean, modern contrast. With excellent readability against black text, the hex code #cfa407 serves well for call-to-action buttons or highlights where high visibility is required.

Questions about #cfa407

What is #cfa407 in RGB, HSL and CMYK?
In RGB, #cfa407 is rgb(207, 164, 7), in HSL hsl(47, 93%, 42%) and in CMYK 0%, 21%, 97%, 19%. Browse more shades of yellow with names and hex codes.
What colors pair well with #cfa407?
This warm ochre pairs beautifully with charcoal or deep navy tones, which provide the necessary contrast to ground its intensity. Use it alongside muted, earthy neutrals to ensure the gold acts as a deliberate accent rather than overwhelming your design.
Is #cfa407 readable on white or black?
#cfa407 has a 2.34:1 contrast ratio on white and 8.96: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.