Skip to content
Vectorlight.net

#afcc4a

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

HEX
#afcc4a
RGB
175, 204, 74
HSL
73.38°, 56.03%, 54.51%
OKLCH
0.8 0.16 120.83
Names
—
Lists

Codes

FormatValue
HEX#afcc4a
RGBrgb(175 204 74)
HSLhsl(73.38 56.03% 54.51%)
OKLCHoklch(0.8 0.16 120.83)
CMYKcmyk(14.22% 0% 63.73% 20%)
Android#ffafcc4a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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