Color #2a6e39
A moderately saturated dark green.
Conversions
#2a6e39
rgb(42, 110, 57)
hsl(133.2, 44.7%, 29.8%)
hsv(133.2, 61.8%, 43.1%)
cmyk(61.8%, 0%, 48.2%, 56.9%)
lab(41.12, -33.97, 23.27)
lch(41.12, 41.18, 145.59)
oklch(48.1%, 0.1081, 148.24)
hwb(133.2, 16.5%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (6.2:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#50514a · ΔE 21.2
Deuteranopia
#4c474e · ΔE 29.7
Tritanopia
#305557 · ΔE 21
Achromatopsia
#616161 · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6e39;
bg-[#2a6e39]
Related colors
Frequently asked questions
#2a6e39 (#2a6e39) is rgb(42, 110, 57) in RGB.
No, #2a6e39 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 #2a6e39, or check how it holds up for accessibility.