Color #2f971f
A moderately saturated dark green.
Conversions
#2f971f
rgb(47, 151, 31)
hsl(112, 65.9%, 35.7%)
hsv(112, 79.5%, 59.2%)
cmyk(68.9%, 0%, 79.5%, 40.8%)
lab(54.9, -51.44, 50.41)
lch(54.9, 72.02, 135.58)
oklch(59.4%, 0.1801, 141.29)
hwb(112, 12.2%, 40.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.57:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6d52 · ΔE 22.9
Deuteranopia
#665e5a · ΔE 33.2
Tritanopia
#3a696d · ΔE 32.4
Achromatopsia
#838383 · ΔE 27.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f971f;
bg-[#2f971f]
Related colors
Frequently asked questions
#2f971f (#2f971f) is rgb(47, 151, 31) in RGB.
No, #2f971f 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 #2f971f, or check how it holds up for accessibility.