Skip to content
Vectorlight.net

#afdd2a

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

HEX
#afdd2a
RGB
175, 221, 42
HSL
75.42°, 72.47%, 51.57%
OKLCH
0.84 0.2 123.98
Names
—
Lists

Codes

FormatValue
HEX#afdd2a
RGBrgb(175 221 42)
HSLhsl(75.42 72.47% 51.57%)
OKLCHoklch(0.84 0.2 123.98)
CMYKcmyk(20.81% 0% 81% 13.33%)
Android#ffafdd2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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