Color #31371a
A muted very dark green.
Conversions
#31371a
rgb(49, 55, 26)
hsl(72.4, 35.8%, 15.9%)
hsv(72.4, 52.7%, 21.6%)
cmyk(10.9%, 0%, 52.7%, 78.4%)
lab(21.8, -8.15, 17.26)
lch(21.8, 19.09, 115.28)
oklch(32.3%, 0.0474, 118.73)
hwb(72.4, 10.2%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (12.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#343423 · ΔE 5.6
Deuteranopia
#333325 · ΔE 6.8
Tritanopia
#31292a · ΔE 19.5
Achromatopsia
#343434 · ΔE 14.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31371a;
bg-[#31371a]
Related colors
Frequently asked questions
#31371a (#31371a) is rgb(49, 55, 26) in RGB.
No, #31371a 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 #31371a, or check how it holds up for accessibility.