Color #312d15
A moderately saturated very dark yellow.
Conversions
#312d15
rgb(49, 45, 21)
hsl(51.4, 40%, 13.7%)
hsv(51.4, 57.1%, 19.2%)
cmyk(0%, 8.2%, 57.1%, 80.8%)
lab(18.29, -2.36, 16.09)
lch(18.29, 16.26, 98.34)
oklch(29.5%, 0.0391, 100.02)
hwb(51.4, 8.2%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (13.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f1d · ΔE 3.4
Deuteranopia
#30301e · ΔE 3.5
Tritanopia
#312223 · ΔE 17.4
Achromatopsia
#2d2d2d · ΔE 12
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312d15;
bg-[#312d15]
Related colors
Frequently asked questions
#312d15 (#312d15) is rgb(49, 45, 21) in RGB.
No, #312d15 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 #312d15, or check how it holds up for accessibility.