Skip to content
Vectorlight.net

#afc978

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

HEX
#afc978
RGB
175, 201, 120
HSL
79.26°, 42.86%, 62.94%
OKLCH
0.8 0.11 123.4
Names
—
Lists

Codes

FormatValue
HEX#afc978
RGBrgb(175 201 120)
HSLhsl(79.26 42.86% 62.94%)
OKLCHoklch(0.8 0.11 123.4)
CMYKcmyk(12.94% 0% 40.3% 21.18%)
Android#ffafc978

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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