Color #40995f
A moderately saturated medium green.
Conversions
#40995f
rgb(64, 153, 95)
hsl(140.9, 41%, 42.5%)
hsv(140.9, 58.2%, 60%)
cmyk(58.2%, 0%, 37.9%, 40%)
lab(56.78, -40.12, 22.72)
lch(56.78, 46.11, 150.48)
oklch(61.4%, 0.1227, 152.43)
hwb(140.9, 25.1%, 40%)
Harmony colors
Accessibility
Black text reads better on this background (5.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727271 · ΔE 25.4
Deuteranopia
#6d6574 · ΔE 34
Tritanopia
#487c7f · ΔE 22.1
Achromatopsia
#888888 · ΔE 24.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40995f;
bg-[#40995f]
Related colors
Frequently asked questions
#40995f (#40995f) is rgb(64, 153, 95) in RGB.
No, #40995f 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 #40995f, or check how it holds up for accessibility.