Color #312b17
A muted very dark yellow.
Conversions
#312b17
rgb(49, 43, 23)
hsl(46.2, 36.1%, 14.1%)
hsv(46.2, 53.1%, 19.2%)
cmyk(0%, 12.2%, 53.1%, 80.8%)
lab(17.66, -0.76, 14)
lch(17.66, 14.02, 93.11)
oklch(29%, 0.0341, 93.37)
hwb(46.2, 9%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (14.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2e1d · ΔE 3.5
Deuteranopia
#2f2f1e · ΔE 4.2
Tritanopia
#312122 · ΔE 15.4
Achromatopsia
#2b2b2b · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #312b17;
bg-[#312b17]
Related colors
Frequently asked questions
#312b17 (#312b17) is rgb(49, 43, 23) in RGB.
No, #312b17 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 #312b17, or check how it holds up for accessibility.