Color #31342b
A nearly neutral, gray-leaning very dark green.
Conversions
#31342b
rgb(49, 52, 43)
hsl(80, 9.5%, 18.6%)
hsv(80, 17.3%, 20.4%)
cmyk(5.8%, 0%, 17.3%, 79.6%)
lab(21.14, -3.32, 5.26)
lch(21.14, 6.22, 122.26)
oklch(31.9%, 0.0161, 122.31)
hwb(80, 16.9%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (12.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#32322d · ΔE 3.2
Deuteranopia
#32322e · ΔE 3.7
Tritanopia
#312f30 · ΔE 8
Achromatopsia
#333333 · ΔE 6.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #31342b;
bg-[#31342b]
Related colors
Frequently asked questions
#31342b (#31342b) is rgb(49, 52, 43) in RGB.
No, #31342b 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 #31342b, or check how it holds up for accessibility.