Skip to content
Vectorlight.net

#8cd940

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

HEX
#8cd940
RGB
140, 217, 64
HSL
90.2°, 66.81%, 55.1%
OKLCH
0.81 0.2 132.63
Names
—
Lists

Codes

FormatValue
HEX#8cd940
RGBrgb(140 217 64)
HSLhsl(90.2 66.81% 55.1%)
OKLCHoklch(0.81 0.2 132.63)
CMYKcmyk(35.48% 0% 70.51% 14.9%)
Android#ff8cd940

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8cd940;
background-color: #8cd940;
bg-[#8cd940]