Color #2a6722
A moderately saturated dark green.
Conversions
#2a6722
rgb(42, 103, 34)
hsl(113, 50.4%, 26.9%)
hsv(113, 67%, 40.4%)
cmyk(59.2%, 0%, 67%, 59.6%)
lab(38.39, -34.32, 32.17)
lch(38.39, 47.04, 136.85)
oklch(45.7%, 0.1199, 141.4)
hwb(113, 13.3%, 59.6%)
Harmony colors
Accessibility
White text reads better on this background (6.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4c4c3c · ΔE 19
Deuteranopia
#484340 · ΔE 26.4
Tritanopia
#2f4a4c · ΔE 24.3
Achromatopsia
#5a5a5a · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6722;
bg-[#2a6722]
Related colors
Frequently asked questions
#2a6722 (#2a6722) is rgb(42, 103, 34) in RGB.
No, #2a6722 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 #2a6722, or check how it holds up for accessibility.