#CFAB4A Hex Color

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

Hex color #cfab4a graphic
This warm, muted gold brings a vintage, sun-drenched feel to designs without the harshness of pure yellow. The hex code for this color is #cfab4a. Because it offers strong contrast against black text, it serves as an excellent background for UI elements. Use it as a secondary accent to add optimism to branding, though be careful as it can appear slightly muddy when paired with cool, desaturated tones.

Questions about #cfab4a

What is #cfab4a in RGB, HSL and CMYK?
In RGB, #cfab4a is rgb(207, 171, 74), in HSL hsl(44, 58%, 55%) and in CMYK 0%, 17%, 64%, 19%. Browse more shades of yellow with names and hex codes.
How should #cfab4a be applied in UI design?
#cfab4a works best as a background color for UI elements where you need high contrast against black text. Because it is muted rather than vibrant, it provides a sophisticated, sun-drenched atmosphere without overwhelming the user or causing visual fatigue on screens.
Which color combinations work well with #cfab4a?
Pairing #cfab4a with a dark navy creates a classic, high-contrast palette that feels both professional and inviting. Avoid mixing this muted gold with overly cool, desaturated teals or grays, which can make the golden undertones appear muddy or unintentionally dirty.
Is #cfab4a readable on white or black?
#cfab4a has a 2.19:1 contrast ratio on white and 9.57: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.