Color #cec031
A moderately saturated medium yellow.
Conversions
#cec031
rgb(206, 192, 49)
hsl(54.6, 61.6%, 50%)
hsv(54.6, 76.2%, 80.8%)
cmyk(0%, 6.8%, 76.2%, 19.2%)
lab(76.71, -10.3, 68.43)
lch(76.71, 69.2, 98.56)
oklch(79.6%, 0.1538, 103.54)
hwb(54.6, 19.2%, 19.2%)
Harmony colors
Accessibility
Black text reads better on this background (11.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#c8c86c · ΔE 7.6
Deuteranopia
#c9ca76 · ΔE 8.9
Tritanopia
#cd888d · ΔE 43
Achromatopsia
#bdbdbd · ΔE 27.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cec031;
bg-[#cec031]
Related colors
Frequently asked questions
#cec031 (#cec031) is rgb(206, 192, 49) in RGB.
No, #cec031 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #cec031, or check how it holds up for accessibility.