Color #40845a
A muted dark green.
Conversions
#40845a
rgb(64, 132, 90)
hsl(142.9, 34.7%, 38.4%)
hsv(142.9, 51.5%, 51.8%)
cmyk(51.5%, 0%, 31.8%, 48.2%)
lab(49.89, -31.74, 16.24)
lch(49.89, 35.65, 152.9)
oklch(55.7%, 0.0959, 154.61)
hwb(142.9, 25.1%, 48.2%)
Harmony colors
Accessibility
Black text reads better on this background (4.67:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#656566 · ΔE 24.1
Deuteranopia
#615b69 · ΔE 31
Tritanopia
#456f70 · ΔE 17.3
Achromatopsia
#777777 · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40845a;
bg-[#40845a]
Related colors
Frequently asked questions
#40845a (#40845a) is rgb(64, 132, 90) in RGB.
No, #40845a 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 #40845a, or check how it holds up for accessibility.