Skip to content
Vectorlight.net

#afcb2c

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

HEX
#afcb2c
RGB
175, 203, 44
HSL
70.57°, 64.37%, 48.43%
OKLCH
0.79 0.18 119.65
Names
—
Lists

Codes

FormatValue
HEX#afcb2c
RGBrgb(175 203 44)
HSLhsl(70.57 64.37% 48.43%)
OKLCHoklch(0.79 0.18 119.65)
CMYKcmyk(13.79% 0% 78.33% 20.39%)
Android#ffafcb2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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