Color #313f31
A nearly neutral, gray-leaning dark green.
Conversions
#313f31
rgb(49, 63, 49)
hsl(120, 12.5%, 22%)
hsv(120, 22.2%, 24.7%)
cmyk(22.2%, 0%, 22.2%, 75.3%)
lab(25.04, -9.02, 6.75)
lch(25.04, 11.27, 143.19)
oklch(35.1%, 0.0302, 144.99)
hwb(120, 19.2%, 75.3%)
Harmony colors
Accessibility
White text reads better on this background (11.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383835 · ΔE 9.9
Deuteranopia
#373636 · ΔE 12.1
Tritanopia
#323838 · ΔE 9.2
Achromatopsia
#3b3b3b · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313f31;
bg-[#313f31]
Related colors
Frequently asked questions
#313f31 (#313f31) is rgb(49, 63, 49) in RGB.
No, #313f31 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 #313f31, or check how it holds up for accessibility.