Color #406a28
A moderately saturated dark green.
Conversions
#406a28
rgb(64, 106, 40)
hsl(98.2, 45.2%, 28.6%)
hsv(98.2, 62.3%, 41.6%)
cmyk(39.6%, 0%, 62.3%, 58.4%)
lab(40.49, -27.61, 31.85)
lch(40.49, 42.15, 130.92)
oklch(47.8%, 0.1069, 135.72)
hwb(98.2, 15.7%, 58.4%)
Harmony colors
Accessibility
White text reads better on this background (6.34:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#555640 · ΔE 15.1
Deuteranopia
#534f44 · ΔE 20.4
Tritanopia
#434d50 · ΔE 25
Achromatopsia
#5f5f5f · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #406a28;
bg-[#406a28]
Related colors
Frequently asked questions
#406a28 (#406a28) is rgb(64, 106, 40) in RGB.
No, #406a28 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #406a28, or check how it holds up for accessibility.