Skip to content
Vectorlight.net

#afd79b

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

HEX
#afd79b
RGB
175, 215, 155
HSL
100°, 42.86%, 72.55%
OKLCH
0.84 0.09 135.43
Names
—
Lists

Codes

FormatValue
HEX#afd79b
RGBrgb(175 215 155)
HSLhsl(100 42.86% 72.55%)
OKLCHoklch(0.84 0.09 135.43)
CMYKcmyk(18.6% 0% 27.91% 15.69%)
Android#ffafd79b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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