Color #2a6239
A moderately saturated dark green.
Conversions
#2a6239
rgb(42, 98, 57)
hsl(136.1, 40%, 27.5%)
hsv(136.1, 57.1%, 38.4%)
cmyk(57.1%, 0%, 41.8%, 61.6%)
lab(36.97, -28.57, 17.9)
lch(36.97, 33.71, 147.93)
oklch(44.7%, 0.0894, 150.14)
hwb(136.1, 16.5%, 61.6%)
Harmony colors
Accessibility
White text reads better on this background (7.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494946 · ΔE 21.3
Deuteranopia
#454148 · ΔE 27.9
Tritanopia
#2f4e50 · ΔE 18.2
Achromatopsia
#575757 · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6239;
bg-[#2a6239]
Related colors
Frequently asked questions
#2a6239 (#2a6239) is rgb(42, 98, 57) in RGB.
No, #2a6239 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 #2a6239, or check how it holds up for accessibility.