Skip to content
Vectorlight.net

#afed42

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

HEX
#afed42
RGB
175, 237, 66
HSL
81.75°, 82.61%, 59.41%
OKLCH
0.87 0.2 127.74
Names
—
Lists

Codes

FormatValue
HEX#afed42
RGBrgb(175 237 66)
HSLhsl(81.75 82.61% 59.41%)
OKLCHoklch(0.87 0.2 127.74)
CMYKcmyk(26.16% 0% 72.15% 7.06%)
Android#ffafed42

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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