Color #2f7140
A moderately saturated dark green.
Conversions
#2f7140
rgb(47, 113, 64)
hsl(135.5, 41.3%, 31.4%)
hsv(135.5, 58.4%, 44.3%)
cmyk(58.4%, 0%, 43.4%, 55.7%)
lab(42.44, -32.74, 21.03)
lch(42.44, 38.91, 147.29)
oklch(49.3%, 0.1028, 149.62)
hwb(135.5, 18.4%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (5.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#54544f · ΔE 21.9
Deuteranopia
#504b52 · ΔE 29.5
Tritanopia
#35595b · ΔE 20.1
Achromatopsia
#646464 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f7140;
bg-[#2f7140]
Related colors
Frequently asked questions
#2f7140 (#2f7140) is rgb(47, 113, 64) in RGB.
No, #2f7140 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 #2f7140, or check how it holds up for accessibility.