Skip to content
Vectorlight.net

#afdf7b

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

HEX
#afdf7b
RGB
175, 223, 123
HSL
88.8°, 60.98%, 67.84%
OKLCH
0.85 0.14 129.91
Names
—
Lists

Codes

FormatValue
HEX#afdf7b
RGBrgb(175 223 123)
HSLhsl(88.8 60.98% 67.84%)
OKLCHoklch(0.85 0.14 129.91)
CMYKcmyk(21.52% 0% 44.84% 12.55%)
Android#ffafdf7b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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