Color #2a5721
A moderately saturated dark green.
Conversions
#2a5721
rgb(42, 87, 33)
hsl(110, 45%, 23.5%)
hsv(110, 62.1%, 34.1%)
cmyk(51.7%, 0%, 62.1%, 65.9%)
lab(32.74, -27.38, 26.25)
lch(32.74, 37.93, 136.21)
oklch(41.1%, 0.0973, 140.42)
hwb(110, 12.9%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (8.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#424234 · ΔE 17.1
Deuteranopia
#3f3c38 · ΔE 22.6
Tritanopia
#2d3f41 · ΔE 21.8
Achromatopsia
#4d4d4d · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5721;
bg-[#2a5721]
Related colors
Frequently asked questions
#2a5721 (#2a5721) is rgb(42, 87, 33) in RGB.
No, #2a5721 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 #2a5721, or check how it holds up for accessibility.