Skip to content
Vectorlight.net

#afda52

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

HEX
#afda52
RGB
175, 218, 82
HSL
78.97°, 64.76%, 58.82%
OKLCH
0.83 0.17 124.89
Names
—
Lists

Codes

FormatValue
HEX#afda52
RGBrgb(175 218 82)
HSLhsl(78.97 64.76% 58.82%)
OKLCHoklch(0.83 0.17 124.89)
CMYKcmyk(19.72% 0% 62.39% 14.51%)
Android#ffafda52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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