Skip to content
Vectorlight.net

#2de40c

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

HEX
#2de40c
RGB
45, 228, 12
HSL
110.83°, 90%, 47.06%
OKLCH
0.8 0.26 141.66
Names
—
Lists

Codes

FormatValue
HEX#2de40c
RGBrgb(45 228 12)
HSLhsl(110.83 90% 47.06%)
OKLCHoklch(0.8 0.26 141.66)
CMYKcmyk(80.26% 0% 94.74% 10.59%)
Android#ff2de40c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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