Skip to content
Vectorlight.net

#2aed31

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

HEX
#2aed31
RGB
42, 237, 49
HSL
122.15°, 84.42%, 54.71%
OKLCH
0.82 0.26 143.01
Names
—
Lists

Codes

FormatValue
HEX#2aed31
RGBrgb(42 237 49)
HSLhsl(122.15 84.42% 54.71%)
OKLCHoklch(0.82 0.26 143.01)
CMYKcmyk(82.28% 0% 79.32% 7.06%)
Android#ff2aed31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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