Color #313e3a
A nearly neutral, gray-leaning dark green.
Conversions
#313e3a
rgb(49, 62, 58)
hsl(161.5, 11.7%, 21.8%)
hsv(161.5, 21%, 24.3%)
cmyk(21%, 0%, 6.5%, 75.7%)
lab(24.96, -6.31, 0.7)
lch(24.96, 6.35, 173.67)
oklch(35.1%, 0.0184, 174.69)
hwb(161.5, 19.2%, 75.7%)
Harmony colors
Accessibility
White text reads better on this background (11.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#37373b · ΔE 9.6
Deuteranopia
#36353b · ΔE 11.1
Tritanopia
#323c3c · ΔE 3.1
Achromatopsia
#3b3b3b · ΔE 7.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313e3a;
bg-[#313e3a]
Related colors
Frequently asked questions
#313e3a (#313e3a) is rgb(49, 62, 58) in RGB.
No, #313e3a 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 #313e3a, or check how it holds up for accessibility.