Skip to content
Vectorlight.net

#a2f97e

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

HEX
#a2f97e
RGB
162, 249, 126
HSL
102.44°, 91.11%, 73.53%
OKLCH
0.9 0.18 137.27
Names
—
Lists

Codes

FormatValue
HEX#a2f97e
RGBrgb(162 249 126)
HSLhsl(102.44 91.11% 73.53%)
OKLCHoklch(0.9 0.18 137.27)
CMYKcmyk(34.94% 0% 49.4% 2.35%)
Android#ffa2f97e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a2f97e;
background-color: #a2f97e;
bg-[#a2f97e]