Color #40866e
A muted dark green.
Conversions
#40866e
rgb(64, 134, 110)
hsl(159.4, 35.4%, 38.8%)
hsv(159.4, 52.2%, 52.5%)
cmyk(52.2%, 0%, 17.9%, 47.5%)
lab(51, -28.2, 6.24)
lch(51, 28.88, 167.52)
oklch(56.7%, 0.0808, 168.58)
hwb(159.4, 25.1%, 47.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#666674 · ΔE 27
Deuteranopia
#625c76 · ΔE 31.6
Tritanopia
#46797a · ΔE 11.3
Achromatopsia
#797979 · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40866e;
bg-[#40866e]
Related colors
Frequently asked questions
#40866e (#40866e) is rgb(64, 134, 110) in RGB.
No, #40866e 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 #40866e, or check how it holds up for accessibility.