Skip to content
Vectorlight.net

#aafb40

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

HEX
#aafb40
RGB
170, 251, 64
HSL
85.99°, 95.9%, 61.76%
OKLCH
0.9 0.22 130.68
Names
—
Lists

Codes

FormatValue
HEX#aafb40
RGBrgb(170 251 64)
HSLhsl(85.99 95.9% 61.76%)
OKLCHoklch(0.9 0.22 130.68)
CMYKcmyk(32.27% 0% 74.5% 1.57%)
Android#ffaafb40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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