Skip to content
Vectorlight.net

#afff5c

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

HEX
#afff5c
RGB
175, 255, 92
HSL
89.45°, 100%, 68.04%
OKLCH
0.92 0.21 131.7
Names
—
Lists

Codes

FormatValue
HEX#afff5c
RGBrgb(175 255 92)
HSLhsl(89.45 100% 68.04%)
OKLCHoklch(0.92 0.21 131.7)
CMYKcmyk(31.37% 0% 63.92% 0%)
Android#ffafff5c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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