Skip to content
Vectorlight.net

#2ae31c

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

HEX
#2ae31c
RGB
42, 227, 28
HSL
115.78°, 78.04%, 50%
OKLCH
0.8 0.26 142.15
Names
—
Lists

Codes

FormatValue
HEX#2ae31c
RGBrgb(42 227 28)
HSLhsl(115.78 78.04% 50%)
OKLCHoklch(0.8 0.26 142.15)
CMYKcmyk(81.5% 0% 87.67% 10.98%)
Android#ff2ae31c

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

Recolor an SVG with this color

CSS

color / background
color: #2ae31c;
background-color: #2ae31c;
bg-[#2ae31c]