Color #d4b915
A vivid, highly saturated medium yellow.
Conversions
#d4b915
rgb(212, 185, 21)
hsl(51.5, 82%, 45.7%)
hsv(51.5, 90.1%, 83.1%)
cmyk(0%, 12.7%, 90.1%, 16.9%)
lab(75.3, -4.87, 74.46)
lch(75.3, 74.62, 93.74)
oklch(78.5%, 0.159, 98.28)
hwb(51.5, 8.2%, 16.9%)
Harmony colors
Accessibility
Black text reads better on this background (10.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#c9c962 · ΔE 9.8
Deuteranopia
#cacc6c · ΔE 11.1
Tritanopia
#d38085 · ΔE 43.6
Achromatopsia
#b9b9b9 · ΔE 27.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d4b915;
bg-[#d4b915]
Related colors
Frequently asked questions
#d4b915 (#d4b915) is rgb(212, 185, 21) in RGB.
No, #d4b915 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 #d4b915, or check how it holds up for accessibility.