Skip to content
Vectorlight.net

#2ac022

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

HEX
#2ac022
RGB
42, 192, 34
HSL
116.96°, 69.91%, 44.31%
OKLCH
0.7 0.22 142.28
Names
—
Lists

Codes

FormatValue
HEX#2ac022
RGBrgb(42 192 34)
HSLhsl(116.96 69.91% 44.31%)
OKLCHoklch(0.7 0.22 142.28)
CMYKcmyk(78.13% 0% 82.29% 24.71%)
Android#ff2ac022

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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