Skip to content
Vectorlight.net

#afd73a

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

HEX
#afd73a
RGB
175, 215, 58
HSL
75.29°, 66.24%, 53.53%
OKLCH
0.82 0.18 123.11
Names
—
Lists

Codes

FormatValue
HEX#afd73a
RGBrgb(175 215 58)
HSLhsl(75.29 66.24% 53.53%)
OKLCHoklch(0.82 0.18 123.11)
CMYKcmyk(18.6% 0% 73.02% 15.69%)
Android#ffafd73a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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