Color #2a5235
A muted dark green.
Conversions
#2a5235
rgb(42, 82, 53)
hsl(136.5, 32.3%, 24.3%)
hsv(136.5, 48.8%, 32.2%)
cmyk(48.8%, 0%, 35.4%, 67.8%)
lab(31.31, -21.52, 12.76)
lch(31.31, 25.02, 149.33)
oklch(40%, 0.067, 151.25)
hwb(136.5, 16.5%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (8.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f3d · ΔE 18.7
Deuteranopia
#3d393f · ΔE 24.9
Tritanopia
#2d4345 · ΔE 15.3
Achromatopsia
#4a4a4a · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5235;
bg-[#2a5235]
Related colors
Frequently asked questions
#2a5235 (#2a5235) is rgb(42, 82, 53) in RGB.
No, #2a5235 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 #2a5235, or check how it holds up for accessibility.