Skip to content
Vectorlight.net

#aafb52

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

HEX
#aafb52
RGB
170, 251, 82
HSL
88.76°, 95.48%, 65.29%
OKLCH
0.9 0.21 131.6
Names
—
Lists

Codes

FormatValue
HEX#aafb52
RGBrgb(170 251 82)
HSLhsl(88.76 95.48% 65.29%)
OKLCHoklch(0.9 0.21 131.6)
CMYKcmyk(32.27% 0% 67.33% 1.57%)
Android#ffaafb52

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.62: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="#aafb52"
Gradient stop
<stop stop-color="#aafb52"/>
CSS variable + fill
:root { --c: #aafb52; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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