Color #40604c
A muted dark green.
Conversions
#40604c
rgb(64, 96, 76)
hsl(142.5, 20%, 31.4%)
hsv(142.5, 33.3%, 37.6%)
cmyk(33.3%, 0%, 20.8%, 62.4%)
lab(37.8, -16.48, 7.75)
lch(37.8, 18.21, 154.81)
oklch(45.8%, 0.0498, 156.42)
hwb(142.5, 25.1%, 62.4%)
Harmony colors
Accessibility
White text reads better on this background (7.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#505051 · ΔE 17.1
Deuteranopia
#4e4b53 · ΔE 21.7
Tritanopia
#425556 · ΔE 11.4
Achromatopsia
#595959 · ΔE 16.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40604c;
bg-[#40604c]
Related colors
Frequently asked questions
#40604c (#40604c) is rgb(64, 96, 76) in RGB.
No, #40604c 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 #40604c, or check how it holds up for accessibility.