Skip to content
Vectorlight.net

#2fc21c

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

HEX
#2fc21c
RGB
47, 194, 28
HSL
113.13°, 74.77%, 43.53%
OKLCH
0.71 0.23 141.7
Names
—
Lists

Codes

FormatValue
HEX#2fc21c
RGBrgb(47 194 28)
HSLhsl(113.13 74.77% 43.53%)
OKLCHoklch(0.71 0.23 141.7)
CMYKcmyk(75.77% 0% 85.57% 23.92%)
Android#ff2fc21c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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