Color #313e21
A muted very dark green.
Conversions
#313e21
rgb(49, 62, 33)
hsl(86.9, 30.5%, 18.6%)
hsv(86.9, 46.8%, 24.3%)
cmyk(21%, 0%, 46.8%, 75.7%)
lab(24.35, -11.4, 16.11)
lch(24.35, 19.74, 125.28)
oklch(34.4%, 0.0503, 128.46)
hwb(86.9, 12.9%, 75.7%)
Harmony colors
Accessibility
White text reads better on this background (11.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#37372a · ΔE 9
Deuteranopia
#36352c · ΔE 11.2
Tritanopia
#323031 · ΔE 17.8
Achromatopsia
#3a3a3a · ΔE 15.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #313e21;
bg-[#313e21]
Related colors
Frequently asked questions
#313e21 (#313e21) is rgb(49, 62, 33) in RGB.
No, #313e21 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 #313e21, or check how it holds up for accessibility.