Skip to content
Vectorlight.net

#afc672

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

HEX
#afc672
RGB
175, 198, 114
HSL
76.43°, 42.42%, 61.18%
OKLCH
0.79 0.11 121.54
Names
—
Lists

Codes

FormatValue
HEX#afc672
RGBrgb(175 198 114)
HSLhsl(76.43 42.42% 61.18%)
OKLCHoklch(0.79 0.11 121.54)
CMYKcmyk(11.62% 0% 42.42% 22.35%)
Android#ffafc672

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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