Color #406b2c
A moderately saturated dark green.
Conversions
#406b2c
rgb(64, 107, 44)
hsl(101, 41.7%, 29.6%)
hsv(101, 58.9%, 42%)
cmyk(40.2%, 0%, 58.9%, 58%)
lab(40.88, -27.63, 30.24)
lch(40.88, 40.96, 132.42)
oklch(48.1%, 0.1045, 136.82)
hwb(101, 17.3%, 58%)
Harmony colors
Accessibility
White text reads better on this background (6.25:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#565642 · ΔE 15.8
Deuteranopia
#535046 · ΔE 20.4
Tritanopia
#434f51 · ΔE 23.7
Achromatopsia
#606060 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #406b2c;
bg-[#406b2c]
Related colors
Frequently asked questions
#406b2c (#406b2c) is rgb(64, 107, 44) in RGB.
No, #406b2c 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 #406b2c, or check how it holds up for accessibility.