Color #40907e
A muted medium green.
Conversions
#40907e
rgb(64, 144, 126)
hsl(166.5, 38.5%, 40.8%)
hsv(166.5, 55.6%, 56.5%)
cmyk(55.6%, 0%, 12.5%, 43.5%)
lab(54.6, -29.07, 2.18)
lch(54.6, 29.15, 175.71)
oklch(59.8%, 0.0836, 176.36)
hwb(166.5, 25.1%, 43.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6d83 · ΔE 28.1
Deuteranopia
#676184 · ΔE 32.5
Tritanopia
#478687 · ΔE 8.6
Achromatopsia
#838383 · ΔE 21.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40907e;
bg-[#40907e]
Related colors
Frequently asked questions
#40907e (#40907e) is rgb(64, 144, 126) in RGB.
No, #40907e 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 #40907e, or check how it holds up for accessibility.