Skip to content
Vectorlight.net

#afa171

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

HEX
#afa171
RGB
175, 161, 113
HSL
46.45°, 27.93%, 56.47%
OKLCH
0.71 0.07 93.77
Names
—
Lists

Codes

FormatValue
HEX#afa171
RGBrgb(175 161 113)
HSLhsl(46.45 27.93% 56.47%)
OKLCHoklch(0.71 0.07 93.77)
CMYKcmyk(0% 8% 35.43% 31.37%)
Android#ffafa171

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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