Skip to content
Vectorlight.net

#40945f

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

HEX
#40945f
RGB
64, 148, 95
HSL
142.14°, 39.62%, 41.57%
OKLCH
0.6 0.12 153.4
Names
—
Lists

Codes

FormatValue
HEX#40945f
RGBrgb(64 148 95)
HSLhsl(142.14 39.62% 41.57%)
OKLCHoklch(0.6 0.12 153.4)
CMYKcmyk(56.76% 0% 35.81% 41.96%)
Android#ff40945f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.73:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.61: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="#40945f"
Gradient stop
<stop stop-color="#40945f"/>
CSS variable + fill
:root { --c: #40945f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #40945f;
background-color: #40945f;
bg-[#40945f]