Skip to content
Vectorlight.net

#a1df2a

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

HEX
#a1df2a
RGB
161, 223, 42
HSL
80.55°, 73.88%, 51.96%
OKLCH
0.83 0.21 127.83
Names
—
Lists

Codes

FormatValue
HEX#a1df2a
RGBrgb(161 223 42)
HSLhsl(80.55 73.88% 51.96%)
OKLCHoklch(0.83 0.21 127.83)
CMYKcmyk(27.8% 0% 81.17% 12.55%)
Android#ffa1df2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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