Skip to content
Vectorlight.net

#afc552

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

HEX
#afc552
RGB
175, 197, 82
HSL
71.48°, 49.78%, 54.71%
OKLCH
0.78 0.14 118.92
Names
—
Lists

Codes

FormatValue
HEX#afc552
RGBrgb(175 197 82)
HSLhsl(71.48 49.78% 54.71%)
OKLCHoklch(0.78 0.14 118.92)
CMYKcmyk(11.17% 0% 58.38% 22.75%)
Android#ffafc552

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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