Color #2f5129
A muted dark green.
Conversions
#2f5129
rgb(47, 81, 41)
hsl(111, 32.8%, 23.9%)
hsv(111, 49.4%, 31.8%)
cmyk(42%, 0%, 49.4%, 68.2%)
lab(30.99, -21.48, 19.67)
lch(30.99, 29.13, 137.52)
oklch(39.8%, 0.0758, 140.73)
hwb(111, 16.1%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (9.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404136 · ΔE 15.3
Deuteranopia
#3e3c38 · ΔE 19.6
Tritanopia
#313e40 · ΔE 19.1
Achromatopsia
#494949 · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f5129;
bg-[#2f5129]
Related colors
Frequently asked questions
#2f5129 (#2f5129) is rgb(47, 81, 41) in RGB.
No, #2f5129 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 #2f5129, or check how it holds up for accessibility.