Skip to content
Vectorlight.net

#afb97d

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

HEX
#afb97d
RGB
175, 185, 125
HSL
70°, 30%, 60.78%
OKLCH
0.76 0.08 116.07
Names
—
Lists

Codes

FormatValue
HEX#afb97d
RGBrgb(175 185 125)
HSLhsl(70 30% 60.78%)
OKLCHoklch(0.76 0.08 116.07)
CMYKcmyk(5.41% 0% 32.43% 27.45%)
Android#ffafb97d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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