Skip to content
Vectorlight.net

#afab5d

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

HEX
#afab5d
RGB
175, 171, 93
HSL
57.07°, 33.88%, 52.55%
OKLCH
0.73 0.1 106.04
Names
—
Lists

Codes

FormatValue
HEX#afab5d
RGBrgb(175 171 93)
HSLhsl(57.07 33.88% 52.55%)
OKLCHoklch(0.73 0.1 106.04)
CMYKcmyk(0% 2.29% 46.86% 31.37%)
Android#ffafab5d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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