Skip to content
Vectorlight.net

#aafd42

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

HEX
#aafd42
RGB
170, 253, 66
HSL
86.63°, 97.91%, 62.55%
OKLCH
0.91 0.22 131.01
Names
—
Lists

Codes

FormatValue
HEX#aafd42
RGBrgb(170 253 66)
HSLhsl(86.63 97.91% 62.55%)
OKLCHoklch(0.91 0.22 131.01)
CMYKcmyk(32.81% 0% 73.91% 0.78%)
Android#ffaafd42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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