#CFA23B Hex Color

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

Hex color #cfa23b graphic
#cfa23b is a warm, mellow yellow with moderate saturation, a muted pastel-leaning feel, and golden ochre undertones. Its softened brightness brings friendly, youthful energy without the glare of vivid yellows. Use it as a supporting tone for spring layouts, baby products, sale graphics, or construction branding. The hex code #cfa23b provides about an 8.9:1 contrast ratio for black text.

Questions about #cfa23b

What is #cfa23b in RGB, HSL and CMYK?
In RGB, #cfa23b is rgb(207, 162, 59), in HSL hsl(42, 61%, 52%) and in CMYK 0%, 22%, 71%, 19%. Browse more shades of yellow with names and hex codes.
What colors pair well with #cfa23b?
#cfa23b pairs well with charcoal, muted navy, and warm off-white because those darker or softer companions steady its golden warmth across packaging, editorial layouts, and interface accents without making the palette feel harsh. Use charcoal for small text and navy for stronger contrast.
Where does #cfa23b work best in a palette?
#cfa23b works best as a supporting color or focused accent rather than a full-page background, especially in spring themes, budget promotions, construction materials, and baby-product packaging, where its warm tone can carry attention without dominating the layout. Its medium lightness can feel heavy when repeated across large surfaces, so pair it with generous neutral space.
Is #cfa23b readable on white or black?
#cfa23b has a 2.36:1 contrast ratio on white and 8.88: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.