Skip to content
Vectorlight.net

#a6d402

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

HEX
#a6d402
RGB
166, 212, 2
HSL
73.14°, 98.13%, 41.96%
OKLCH
0.81 0.2 123.94
Names
—
Lists

Codes

FormatValue
HEX#a6d402
RGBrgb(166 212 2)
HSLhsl(73.14 98.13% 41.96%)
OKLCHoklch(0.81 0.2 123.94)
CMYKcmyk(21.7% 0% 99.06% 16.86%)
Android#ffa6d402

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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