Color #408052
A muted dark green.
Conversions
#408052
rgb(64, 128, 82)
hsl(136.9, 33.3%, 37.6%)
hsv(136.9, 50%, 50.2%)
cmyk(50%, 0%, 35.9%, 49.8%)
lab(48.43, -31.46, 18.82)
lch(48.43, 36.66, 149.11)
oklch(54.4%, 0.0978, 151.13)
hwb(136.9, 25.1%, 49.8%)
Harmony colors
Accessibility
White text reads better on this background (4.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#626360 · ΔE 22.1
Deuteranopia
#5e5963 · ΔE 29.8
Tritanopia
#45696b · ΔE 19.2
Achromatopsia
#737373 · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #408052;
bg-[#408052]
Related colors
Frequently asked questions
#408052 (#408052) is rgb(64, 128, 82) in RGB.
No, #408052 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 #408052, or check how it holds up for accessibility.