Color #d9c987
A moderately saturated light yellow.
Conversions
#d9c987
rgb(217, 201, 135)
hsl(48.3, 51.9%, 69%)
hsv(48.3, 37.8%, 85.1%)
cmyk(0%, 7.4%, 37.8%, 14.9%)
lab(80.89, -3.84, 35.02)
lch(80.89, 35.23, 96.26)
oklch(83.4%, 0.0868, 96.15)
hwb(48.3, 52.9%, 14.9%)
Harmony colors
Accessibility
Black text reads better on this background (12.65:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#d2d29a · ΔE 5.6
Deuteranopia
#d3d49f · ΔE 6.3
Tritanopia
#d8a8ab · ΔE 29.3
Achromatopsia
#c9c9c9 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d9c987;
bg-[#d9c987]
Related colors
Frequently asked questions
#d9c987 (#d9c987) is rgb(217, 201, 135) in RGB.
No, #d9c987 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 #d9c987, or check how it holds up for accessibility.