Color #40704f
A muted dark green.
Conversions
#40704f
rgb(64, 112, 79)
hsl(138.8, 27.3%, 34.5%)
hsv(138.8, 42.9%, 43.9%)
cmyk(42.9%, 0%, 29.5%, 56.1%)
lab(43.13, -24.29, 13.36)
lch(43.13, 27.72, 151.19)
oklch(50.1%, 0.0746, 152.99)
hwb(138.8, 25.1%, 56.1%)
Harmony colors
Accessibility
White text reads better on this background (5.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#595958 · ΔE 20.5
Deuteranopia
#56525a · ΔE 26.6
Tritanopia
#435f60 · ΔE 15.3
Achromatopsia
#666666 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40704f;
bg-[#40704f]
Related colors
Frequently asked questions
#40704f (#40704f) is rgb(64, 112, 79) in RGB.
No, #40704f 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 #40704f, or check how it holds up for accessibility.