Skip to content
Vectorlight.net

#40d64c

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

HEX
#40d64c
RGB
64, 214, 76
HSL
124.8°, 64.66%, 54.51%
OKLCH
0.77 0.22 144.17
Names
—
Lists

Codes

FormatValue
HEX#40d64c
RGBrgb(64 214 76)
HSLhsl(124.8 64.66% 54.51%)
OKLCHoklch(0.77 0.22 144.17)
CMYKcmyk(70.09% 0% 64.49% 16.08%)
Android#ff40d64c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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