Skip to content
Vectorlight.net

#afcc39

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

HEX
#afcc39
RGB
175, 204, 57
HSL
71.84°, 59.04%, 51.18%
OKLCH
0.8 0.17 120.24
Names
—
Lists

Codes

FormatValue
HEX#afcc39
RGBrgb(175 204 57)
HSLhsl(71.84 59.04% 51.18%)
OKLCHoklch(0.8 0.17 120.24)
CMYKcmyk(14.22% 0% 72.06% 20%)
Android#ffafcc39

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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