Color #d2c159
A moderately saturated medium yellow.
Conversions
#d2c159
rgb(210, 193, 89)
hsl(51.6, 57.3%, 58.6%)
hsv(51.6, 57.6%, 82.4%)
cmyk(0%, 8.1%, 57.6%, 17.6%)
lab(77.62, -6.87, 53.51)
lch(77.62, 53.95, 97.32)
oklch(80.5%, 0.1261, 100.14)
hwb(51.6, 34.9%, 17.6%)
Harmony colors
Accessibility
Black text reads better on this background (11.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#cbcb7d · ΔE 6.7
Deuteranopia
#cccd84 · ΔE 7.7
Tritanopia
#d19296 · ΔE 37.4
Achromatopsia
#c0c0c0 · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d2c159;
bg-[#d2c159]
Related colors
Frequently asked questions
#d2c159 (#d2c159) is rgb(210, 193, 89) in RGB.
No, #d2c159 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 #d2c159, or check how it holds up for accessibility.