Color #2a6337
A moderately saturated dark green.
Conversions
#2a6337
rgb(42, 99, 55)
hsl(133.7, 40.4%, 27.6%)
hsv(133.7, 57.6%, 38.8%)
cmyk(57.6%, 0%, 44.4%, 61.2%)
lab(37.28, -29.42, 19.48)
lch(37.28, 35.28, 146.49)
oklch(44.9%, 0.0931, 148.89)
hwb(133.7, 16.5%, 61.2%)
Harmony colors
Accessibility
White text reads better on this background (7.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494a45 · ΔE 20.5
Deuteranopia
#464148 · ΔE 28.6
Tritanopia
#2f4e50 · ΔE 19
Achromatopsia
#585858 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6337;
bg-[#2a6337]
Related colors
Frequently asked questions
#2a6337 (#2a6337) is rgb(42, 99, 55) in RGB.
No, #2a6337 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 #2a6337, or check how it holds up for accessibility.