Skip to content
Vectorlight.net

#afb9af

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

HEX
#afb9af
RGB
175, 185, 175
HSL
120°, 6.67%, 70.59%
OKLCH
0.78 0.02 145.4
Names
—
Lists

Codes

FormatValue
HEX#afb9af
RGBrgb(175 185 175)
HSLhsl(120 6.67% 70.59%)
OKLCHoklch(0.78 0.02 145.4)
CMYKcmyk(5.41% 0% 5.41% 27.45%)
Android#ffafb9af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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