Skip to content
Vectorlight.net

#afdc2f

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

HEX
#afdc2f
RGB
175, 220, 47
HSL
75.61°, 71.19%, 52.35%
OKLCH
0.83 0.19 123.89
Names
—
Lists

Codes

FormatValue
HEX#afdc2f
RGBrgb(175 220 47)
HSLhsl(75.61 71.19% 52.35%)
OKLCHoklch(0.83 0.19 123.89)
CMYKcmyk(20.45% 0% 78.64% 13.73%)
Android#ffafdc2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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