Skip to content
Vectorlight.net

#28e31e

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

HEX
#28e31e
RGB
40, 227, 30
HSL
116.95°, 77.87%, 50.39%
OKLCH
0.8 0.26 142.29
Names
—
Lists

Codes

FormatValue
HEX#28e31e
RGBrgb(40 227 30)
HSLhsl(116.95 77.87% 50.39%)
OKLCHoklch(0.8 0.26 142.29)
CMYKcmyk(82.38% 0% 86.78% 10.98%)
Android#ff28e31e

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.09: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="#28e31e"
Gradient stop
<stop stop-color="#28e31e"/>
CSS variable + fill
:root { --c: #28e31e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #28e31e;
background-color: #28e31e;
bg-[#28e31e]