Color #cec798
A muted light yellow.
Conversions
#cec798
rgb(206, 199, 152)
hsl(52.2, 35.5%, 70.2%)
hsv(52.2, 26.2%, 80.8%)
cmyk(0%, 3.4%, 26.2%, 19.2%)
lab(79.75, -4.97, 24.47)
lch(79.75, 24.97, 101.48)
oklch(82.4%, 0.063, 100.52)
hwb(52.2, 59.6%, 19.2%)
Harmony colors
Accessibility
Black text reads better on this background (12.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#cbcba5 · ΔE 3.5
Deuteranopia
#cbcca8 · ΔE 4.2
Tritanopia
#ceaeb0 · ΔE 25.5
Achromatopsia
#c6c6c6 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cec798;
bg-[#cec798]
Related colors
Frequently asked questions
#cec798 (#cec798) is rgb(206, 199, 152) in RGB.
No, #cec798 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 #cec798, or check how it holds up for accessibility.