Color #2a4a20
A muted dark green.
Conversions
#2a4a20
rgb(42, 74, 32)
hsl(105.7, 39.6%, 20.8%)
hsv(105.7, 56.8%, 29%)
cmyk(43.2%, 0%, 56.8%, 71%)
lab(28.1, -21.17, 21.28)
lch(28.1, 30.02, 134.85)
oklch(37.3%, 0.0773, 138.72)
hwb(105.7, 12.5%, 71%)
Harmony colors
Accessibility
White text reads better on this background (10.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3b2e · ΔE 14.4
Deuteranopia
#383631 · ΔE 19.1
Tritanopia
#2c3738 · ΔE 19
Achromatopsia
#424242 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a4a20;
bg-[#2a4a20]
Related colors
Frequently asked questions
#2a4a20 (#2a4a20) is rgb(42, 74, 32) in RGB.
No, #2a4a20 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 #2a4a20, or check how it holds up for accessibility.