Color #40792f
A moderately saturated dark green.
Conversions
#40792f
rgb(64, 121, 47)
hsl(106.2, 44%, 32.9%)
hsv(106.2, 61.2%, 47.5%)
cmyk(47.1%, 0%, 61.2%, 52.5%)
lab(45.59, -33.73, 34.2)
lch(45.59, 48.03, 134.6)
oklch(52%, 0.1226, 139.07)
hwb(106.2, 18.4%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (5.26:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5e5e4a · ΔE 18.2
Deuteranopia
#5b564f · ΔE 24.4
Tritanopia
#44595b · ΔE 25.2
Achromatopsia
#6c6c6c · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40792f;
bg-[#40792f]
Related colors
Frequently asked questions
#40792f (#40792f) is rgb(64, 121, 47) in RGB.
No, #40792f 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 #40792f, or check how it holds up for accessibility.