Skip to content
Vectorlight.net

#afb98e

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

HEX
#afb98e
RGB
175, 185, 142
HSL
73.95°, 23.5%, 64.12%
OKLCH
0.77 0.06 118.46
Names
—
Lists

Codes

FormatValue
HEX#afb98e
RGBrgb(175 185 142)
HSLhsl(73.95 23.5% 64.12%)
OKLCHoklch(0.77 0.06 118.46)
CMYKcmyk(5.41% 0% 23.24% 27.45%)
Android#ffafb98e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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