Skip to content
Vectorlight.net

#afcd2f

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

HEX
#afcd2f
RGB
175, 205, 47
HSL
71.39°, 62.7%, 49.41%
OKLCH
0.8 0.18 120.27
Names
—
Lists

Codes

FormatValue
HEX#afcd2f
RGBrgb(175 205 47)
HSLhsl(71.39 62.7% 49.41%)
OKLCHoklch(0.8 0.18 120.27)
CMYKcmyk(14.63% 0% 77.07% 19.61%)
Android#ffafcd2f

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.59: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="#afcd2f"
Gradient stop
<stop stop-color="#afcd2f"/>
CSS variable + fill
:root { --c: #afcd2f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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