Skip to content
Vectorlight.net

#afd397

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

HEX
#afd397
RGB
175, 211, 151
HSL
96°, 40.54%, 70.98%
OKLCH
0.83 0.09 133.25
Names
—
Lists

Codes

FormatValue
HEX#afd397
RGBrgb(175 211 151)
HSLhsl(96 40.54% 70.98%)
OKLCHoklch(0.83 0.09 133.25)
CMYKcmyk(17.06% 0% 28.44% 17.25%)
Android#ffafd397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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