Color #40a459
A moderately saturated medium green.
Conversions
#40a459
rgb(64, 164, 89)
hsl(135, 43.9%, 44.7%)
hsv(135, 61%, 64.3%)
cmyk(61%, 0%, 45.7%, 35.7%)
lab(60.21, -45.74, 30.41)
lch(60.21, 54.93, 146.38)
oklch(64.1%, 0.1444, 148.89)
hwb(135, 25.1%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (6.67:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#797971 · ΔE 24.6
Deuteranopia
#736b76 · ΔE 34.5
Tritanopia
#498083 · ΔE 25.4
Achromatopsia
#919191 · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40a459;
bg-[#40a459]
Related colors
Frequently asked questions
#40a459 (#40a459) is rgb(64, 164, 89) in RGB.
No, #40a459 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 #40a459, or check how it holds up for accessibility.