Color #2a4d1f
A moderately saturated dark green.
Conversions
#2a4d1f
rgb(42, 77, 31)
hsl(105.7, 42.6%, 21.2%)
hsv(105.7, 59.7%, 30.2%)
cmyk(45.5%, 0%, 59.7%, 69.8%)
lab(29.16, -22.83, 23.12)
lch(29.16, 32.49, 134.64)
oklch(38.2%, 0.0834, 138.74)
hwb(105.7, 12.2%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (9.63:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3c3c2f · ΔE 15.6
Deuteranopia
#3a3732 · ΔE 20.4
Tritanopia
#2c383a · ΔE 20.6
Achromatopsia
#454545 · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a4d1f;
bg-[#2a4d1f]
Related colors
Frequently asked questions
#2a4d1f (#2a4d1f) is rgb(42, 77, 31) in RGB.
No, #2a4d1f 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 #2a4d1f, or check how it holds up for accessibility.