Skip to content
Vectorlight.net

#aaf240

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

HEX
#aaf240
RGB
170, 242, 64
HSL
84.27°, 87.25%, 60%
OKLCH
0.88 0.21 129.52
Names
—
Lists

Codes

FormatValue
HEX#aaf240
RGBrgb(170 242 64)
HSLhsl(84.27 87.25% 60%)
OKLCHoklch(0.88 0.21 129.52)
CMYKcmyk(29.75% 0% 73.55% 5.1%)
Android#ffaaf240

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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