Skip to content
Vectorlight.net

#afbf81

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

HEX
#afbf81
RGB
175, 191, 129
HSL
75.48°, 32.63%, 62.75%
OKLCH
0.78 0.09 120.18
Names
—
Lists

Codes

FormatValue
HEX#afbf81
RGBrgb(175 191 129)
HSLhsl(75.48 32.63% 62.75%)
OKLCHoklch(0.78 0.09 120.18)
CMYKcmyk(8.38% 0% 32.46% 25.1%)
Android#ffafbf81

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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