Skip to content
Vectorlight.net

#40d18e

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

HEX
#40d18e
RGB
64, 209, 142
HSL
152.28°, 61.18%, 53.53%
OKLCH
0.77 0.16 158.74
Names
—
Lists

Codes

FormatValue
HEX#40d18e
RGBrgb(64 209 142)
HSLhsl(152.28 61.18% 53.53%)
OKLCHoklch(0.77 0.16 158.74)
CMYKcmyk(69.38% 0% 32.06% 18.04%)
Android#ff40d18e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40d18e;
background-color: #40d18e;
bg-[#40d18e]