Color #2a5620
A moderately saturated dark green.
Conversions
#2a5620
rgb(42, 86, 32)
hsl(108.9, 45.8%, 23.1%)
hsv(108.9, 62.8%, 33.7%)
cmyk(51.2%, 0%, 62.8%, 66.3%)
lab(32.37, -27.05, 26.36)
lch(32.37, 37.77, 135.74)
oklch(40.8%, 0.0967, 140.04)
hwb(108.9, 12.5%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (8.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#414233 · ΔE 16.3
Deuteranopia
#3f3b37 · ΔE 23.1
Tritanopia
#2d3e40 · ΔE 21.9
Achromatopsia
#4c4c4c · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5620;
bg-[#2a5620]
Related colors
Frequently asked questions
#2a5620 (#2a5620) is rgb(42, 86, 32) in RGB.
No, #2a5620 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 #2a5620, or check how it holds up for accessibility.