Skip to content
Vectorlight.net

#40972d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#40972d
RGB
64, 151, 45
HSL
109.25°, 54.08%, 38.43%
OKLCH
0.6 0.16 140.37
Names
—
Lists

Codes

FormatValue
HEX#40972d
RGBrgb(64 151 45)
HSLhsl(109.25 54.08% 38.43%)
OKLCHoklch(0.6 0.16 140.37)
CMYKcmyk(57.62% 0% 70.2% 40.78%)
Android#ff40972d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.69:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.68:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#40972d"
Gradient stop
<stop stop-color="#40972d"/>
CSS variable + fill
:root { --c: #40972d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #40972d;
background-color: #40972d;
bg-[#40972d]