Color #40a562
A moderately saturated medium green.
Conversions
#40a562
rgb(64, 165, 98)
hsl(140.2, 44.1%, 44.9%)
hsv(140.2, 61.2%, 64.7%)
cmyk(61.2%, 0%, 40.6%, 35.3%)
lab(60.68, -44.58, 26.24)
lch(60.68, 51.73, 149.52)
oklch(64.6%, 0.1371, 151.6)
hwb(140.2, 25.1%, 35.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#797a77 · ΔE 25.3
Deuteranopia
#746c7b · ΔE 34.9
Tritanopia
#498487 · ΔE 23.7
Achromatopsia
#929292 · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40a562;
bg-[#40a562]
Related colors
Frequently asked questions
#40a562 (#40a562) is rgb(64, 165, 98) in RGB.
No, #40a562 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 #40a562, or check how it holds up for accessibility.