Skip to content
Vectorlight.net

#afff42

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

HEX
#afff42
RGB
175, 255, 66
HSL
85.4°, 100%, 62.94%
OKLCH
0.92 0.22 130.29
Names
—
Lists

Codes

FormatValue
HEX#afff42
RGBrgb(175 255 66)
HSLhsl(85.4 100% 62.94%)
OKLCHoklch(0.92 0.22 130.29)
CMYKcmyk(31.37% 0% 74.12% 0%)
Android#ffafff42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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