#CEC212 Hex Color

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

Hex color #cec212 graphic
#cec212 is a citrusy yellow with a green undertone, bright and saturated enough to read as neon rather than gold. That energy suits sale tags, badges, and budget branding, where it works best as the small accent in a 60/30/10 palette. It washes out against white, so pair it with charcoal instead. Black text on the hex code #cec212 hits 11.3:1 contrast, well past WCAG AA.

Questions about #cec212

What is #cec212 in RGB, HSL and CMYK?
In RGB, #cec212 is rgb(206, 194, 18), in HSL hsl(56, 84%, 44%) and in CMYK 0%, 6%, 91%, 19%.
What colors pair well with #cec212?
Charcoal and deep navy both anchor #cec212 without dulling its spark, making it read as a sharp accent rather than noise. It loses impact next to white, so build palettes around darker neutrals.
Is #cec212 readable on white or black?
#cec212 has a 1.85:1 contrast ratio on white and 11.34: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.