Color #2a4e1c
A moderately saturated dark green.
Conversions
#2a4e1c
rgb(42, 78, 28)
hsl(103.2, 47.2%, 20.8%)
hsv(103.2, 64.1%, 30.6%)
cmyk(46.2%, 0%, 64.1%, 69.4%)
lab(29.47, -23.72, 25.14)
lch(29.47, 34.56, 133.34)
oklch(38.4%, 0.0881, 137.85)
hwb(103.2, 11%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (9.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d2e · ΔE 15.4
Deuteranopia
#3b3831 · ΔE 19.9
Tritanopia
#2d383a · ΔE 21.5
Achromatopsia
#454545 · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a4e1c;
bg-[#2a4e1c]
Related colors
Frequently asked questions
#2a4e1c (#2a4e1c) is rgb(42, 78, 28) in RGB.
No, #2a4e1c 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 #2a4e1c, or check how it holds up for accessibility.