Skip to content
Vectorlight.net

#afea2d

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

HEX
#afea2d
RGB
175, 234, 45
HSL
78.73°, 81.82%, 54.71%
OKLCH
0.87 0.21 126.51
Names
—
Lists

Codes

FormatValue
HEX#afea2d
RGBrgb(175 234 45)
HSLhsl(78.73 81.82% 54.71%)
OKLCHoklch(0.87 0.21 126.51)
CMYKcmyk(25.21% 0% 80.77% 8.24%)
Android#ffafea2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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