Skip to content
Vectorlight.net

#afe28c

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

HEX
#afe28c
RGB
175, 226, 140
HSL
95.58°, 59.72%, 71.76%
OKLCH
0.86 0.13 133.41
Names
—
Lists

Codes

FormatValue
HEX#afe28c
RGBrgb(175 226 140)
HSLhsl(95.58 59.72% 71.76%)
OKLCHoklch(0.86 0.13 133.41)
CMYKcmyk(22.57% 0% 38.05% 11.37%)
Android#ffafe28c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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