Color #315e40
A muted dark green.
Conversions
#315e40
rgb(49, 94, 64)
hsl(140, 31.5%, 28%)
hsv(140, 47.9%, 36.9%)
cmyk(47.9%, 0%, 31.9%, 63.1%)
lab(36.04, -23.09, 12.51)
lch(36.04, 26.26, 151.55)
oklch(44.1%, 0.0706, 153.33)
hwb(140, 19.2%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (7.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494949 · ΔE 20.2
Deuteranopia
#46424b · ΔE 26.3
Tritanopia
#344f50 · ΔE 14.5
Achromatopsia
#555555 · ΔE 19.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #315e40;
bg-[#315e40]
Related colors
Frequently asked questions
#315e40 (#315e40) is rgb(49, 94, 64) in RGB.
No, #315e40 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 #315e40, or check how it holds up for accessibility.