Color #2a7d31
A moderately saturated dark green.
Conversions
#2a7d31
rgb(42, 125, 49)
hsl(125.1, 49.7%, 32.7%)
hsv(125.1, 66.4%, 49%)
cmyk(66.4%, 0%, 60.8%, 51%)
lab(46.15, -41.33, 33.64)
lch(46.15, 53.29, 140.86)
oklch(52.2%, 0.1372, 144.64)
hwb(125.1, 16.5%, 51%)
Harmony colors
Accessibility
White text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5a5b4c · ΔE 21.3
Deuteranopia
#554f51 · ΔE 32.2
Tritanopia
#325c5f · ΔE 26
Achromatopsia
#6d6d6d · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a7d31;
bg-[#2a7d31]
Related colors
Frequently asked questions
#2a7d31 (#2a7d31) is rgb(42, 125, 49) in RGB.
No, #2a7d31 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2a7d31, or check how it holds up for accessibility.