Color #2f7540
A moderately saturated dark green.
Conversions
#2f7540
rgb(47, 117, 64)
hsl(134.6, 42.7%, 32.2%)
hsv(134.6, 59.8%, 45.9%)
cmyk(59.8%, 0%, 45.3%, 54.1%)
lab(43.79, -34.5, 22.79)
lch(43.79, 41.35, 146.55)
oklch(50.4%, 0.109, 149.01)
hwb(134.6, 18.4%, 54.1%)
Harmony colors
Accessibility
White text reads better on this background (5.62:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#565751 · ΔE 21.7
Deuteranopia
#524d54 · ΔE 29.8
Tritanopia
#355c5e · ΔE 20.9
Achromatopsia
#676767 · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f7540;
bg-[#2f7540]
Related colors
Frequently asked questions
#2f7540 (#2f7540) is rgb(47, 117, 64) in RGB.
No, #2f7540 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 #2f7540, or check how it holds up for accessibility.