Skip to content
Vectorlight.net

#afc42e

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

HEX
#afc42e
RGB
175, 196, 46
HSL
68.4°, 61.98%, 47.45%
OKLCH
0.78 0.17 117.59
Names
—
Lists

Codes

FormatValue
HEX#afc42e
RGBrgb(175 196 46)
HSLhsl(68.4 61.98% 47.45%)
OKLCHoklch(0.78 0.17 117.59)
CMYKcmyk(10.71% 0% 76.53% 23.14%)
Android#ffafc42e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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