Color #c7ab52
A moderately saturated medium yellow.
Conversions
#c7ab52
rgb(199, 171, 82)
hsl(45.6, 51.1%, 55.1%)
hsv(45.6, 58.8%, 78%)
cmyk(0%, 14.1%, 58.8%, 22%)
lab(70.79, -0.51, 48.74)
lch(70.79, 48.74, 90.6)
oklch(74.8%, 0.1134, 92.02)
hwb(45.6, 32.2%, 22%)
Harmony colors
Accessibility
Black text reads better on this background (9.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#bcbb70 · ΔE 9
Deuteranopia
#bdbf76 · ΔE 10.2
Tritanopia
#c68286 · ΔE 34
Achromatopsia
#adadad · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c7ab52;
bg-[#c7ab52]
Related colors
Frequently asked questions
#c7ab52 (#c7ab52) is rgb(199, 171, 82) in RGB.
No, #c7ab52 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 #c7ab52, or check how it holds up for accessibility.