Skip to content
Vectorlight.net

#afa87b

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

HEX
#afa87b
RGB
175, 168, 123
HSL
51.92°, 24.53%, 58.43%
OKLCH
0.73 0.06 100.31
Names
—
Lists

Codes

FormatValue
HEX#afa87b
RGBrgb(175 168 123)
HSLhsl(51.92 24.53% 58.43%)
OKLCHoklch(0.73 0.06 100.31)
CMYKcmyk(0% 4% 29.71% 31.37%)
Android#ffafa87b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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