Skip to content
Vectorlight.net

#afd322

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

HEX
#afd322
RGB
175, 211, 34
HSL
72.2°, 72.24%, 48.04%
OKLCH
0.81 0.19 121.57
Names
—
Lists

Codes

FormatValue
HEX#afd322
RGBrgb(175 211 34)
HSLhsl(72.2 72.24% 48.04%)
OKLCHoklch(0.81 0.19 121.57)
CMYKcmyk(17.06% 0% 83.89% 17.25%)
Android#ffafd322

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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