Skip to content
Vectorlight.net

#afa172

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

HEX
#afa172
RGB
175, 161, 114
HSL
46.23°, 27.6%, 56.67%
OKLCH
0.71 0.07 93.48
Names
—
Lists

Codes

FormatValue
HEX#afa172
RGBrgb(175 161 114)
HSLhsl(46.23 27.6% 56.67%)
OKLCHoklch(0.71 0.07 93.48)
CMYKcmyk(0% 8% 34.86% 31.37%)
Android#ffafa172

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.16: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="#afa172"
Gradient stop
<stop stop-color="#afa172"/>
CSS variable + fill
:root { --c: #afa172; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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