Skip to content
Vectorlight.net

#a6df2a

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

HEX
#a6df2a
RGB
166, 223, 42
HSL
78.9°, 73.88%, 51.96%
OKLCH
0.83 0.2 126.65
Names
—
Lists

Codes

FormatValue
HEX#a6df2a
RGBrgb(166 223 42)
HSLhsl(78.9 73.88% 51.96%)
OKLCHoklch(0.83 0.2 126.65)
CMYKcmyk(25.56% 0% 81.17% 12.55%)
Android#ffa6df2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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