Color #40754f
A muted dark green.
Conversions
#40754f
rgb(64, 117, 79)
hsl(137, 29.3%, 35.5%)
hsv(137, 45.3%, 45.9%)
cmyk(45.3%, 0%, 32.5%, 54.1%)
lab(44.77, -26.79, 15.6)
lch(44.77, 31, 149.79)
oklch(51.4%, 0.083, 151.68)
hwb(137, 25.1%, 54.1%)
Harmony colors
Accessibility
White text reads better on this background (5.42:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5c5a · ΔE 21.2
Deuteranopia
#59545c · ΔE 28.1
Tritanopia
#446263 · ΔE 16.6
Achromatopsia
#6a6a6a · ΔE 21.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40754f;
bg-[#40754f]
Related colors
Frequently asked questions
#40754f (#40754f) is rgb(64, 117, 79) in RGB.
No, #40754f 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 #40754f, or check how it holds up for accessibility.