Color #2f5121
A moderately saturated dark green.
Conversions
#2f5121
rgb(47, 81, 33)
hsl(102.5, 42.1%, 22.4%)
hsv(102.5, 59.3%, 31.8%)
cmyk(42%, 0%, 59.3%, 68.2%)
lab(30.88, -22.67, 24.12)
lch(30.88, 33.1, 133.22)
oklch(39.6%, 0.0847, 137.44)
hwb(102.5, 12.9%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (9.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404132 · ΔE 14.6
Deuteranopia
#3e3c35 · ΔE 19
Tritanopia
#313b3d · ΔE 21.1
Achromatopsia
#494949 · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f5121;
bg-[#2f5121]
Related colors
Frequently asked questions
#2f5121 (#2f5121) is rgb(47, 81, 33) in RGB.
No, #2f5121 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 #2f5121, or check how it holds up for accessibility.