Color #2f5128
A muted dark green.
Conversions
#2f5128
rgb(47, 81, 40)
hsl(109.8, 33.9%, 23.7%)
hsv(109.8, 50.6%, 31.8%)
cmyk(42%, 0%, 50.6%, 68.2%)
lab(30.98, -21.64, 20.24)
lch(30.98, 29.63, 136.91)
oklch(39.8%, 0.077, 140.27)
hwb(109.8, 15.7%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (9.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404135 · ΔE 15
Deuteranopia
#3e3c38 · ΔE 19.7
Tritanopia
#313e3f · ΔE 18.6
Achromatopsia
#494949 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f5128;
bg-[#2f5128]
Related colors
Frequently asked questions
#2f5128 (#2f5128) is rgb(47, 81, 40) in RGB.
No, #2f5128 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 #2f5128, or check how it holds up for accessibility.