Color #313c36
A nearly neutral, gray-leaning dark green.
Conversions
#313c36
rgb(49, 60, 54)
hsl(147.3, 10.1%, 21.4%)
hsv(147.3, 18.3%, 23.5%)
cmyk(18.3%, 0%, 10%, 76.5%)
lab(24.16, -6.02, 2.19)
lch(24.16, 6.41, 160.01)
oklch(34.4%, 0.0179, 161.46)
hwb(147.3, 19.2%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (11.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#363638 · ΔE 8.7
Deuteranopia
#353538 · ΔE 9.3
Tritanopia
#323939 · ΔE 4.6
Achromatopsia
#393939 · ΔE 7.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313c36;
bg-[#313c36]
Related colors
Frequently asked questions
#313c36 (#313c36) is rgb(49, 60, 54) in RGB.
No, #313c36 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 #313c36, or check how it holds up for accessibility.