Skip to content
Vectorlight.net

#afdd52

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

HEX
#afdd52
RGB
175, 221, 82
HSL
79.86°, 67.15%, 59.41%
OKLCH
0.84 0.17 125.56
Names
—
Lists

Codes

FormatValue
HEX#afdd52
RGBrgb(175 221 82)
HSLhsl(79.86 67.15% 59.41%)
OKLCHoklch(0.84 0.17 125.56)
CMYKcmyk(20.81% 0% 62.9% 13.33%)
Android#ffafdd52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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