Color #ccb97f
A moderately saturated light yellow.
Conversions
#ccb97f
rgb(204, 185, 127)
hsl(45.2, 43%, 64.9%)
hsv(45.2, 37.7%, 80%)
cmyk(0%, 9.3%, 37.7%, 20%)
lab(75.49, -1.57, 31.91)
lch(75.49, 31.95, 92.82)
oklch(78.8%, 0.0789, 92.03)
hwb(45.2, 49.8%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (10.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#c4c490 · ΔE 6.6
Deuteranopia
#c5c794 · ΔE 7.5
Tritanopia
#cb9c9e · ΔE 26.9
Achromatopsia
#bababa · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ccb97f;
bg-[#ccb97f]
Related colors
Frequently asked questions
#ccb97f (#ccb97f) is rgb(204, 185, 127) in RGB.
No, #ccb97f 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 #ccb97f, or check how it holds up for accessibility.