Color #2f7342
A moderately saturated dark green.
Conversions
#2f7342
rgb(47, 115, 66)
hsl(136.8, 42%, 31.8%)
hsv(136.8, 59.1%, 45.1%)
cmyk(59.1%, 0%, 42.6%, 54.9%)
lab(43.15, -33.26, 20.82)
lch(43.15, 39.24, 147.95)
oklch(49.9%, 0.1037, 150.17)
hwb(136.8, 18.4%, 54.9%)
Harmony colors
Accessibility
White text reads better on this background (5.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#555551 · ΔE 22.5
Deuteranopia
#514c54 · ΔE 29.7
Tritanopia
#355b5d · ΔE 20
Achromatopsia
#666666 · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f7342;
bg-[#2f7342]
Related colors
Frequently asked questions
#2f7342 (#2f7342) is rgb(47, 115, 66) in RGB.
No, #2f7342 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 #2f7342, or check how it holds up for accessibility.