Skip to content
Vectorlight.net

#afbf66

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

HEX
#afbf66
RGB
175, 191, 102
HSL
70.79°, 41.01%, 57.45%
OKLCH
0.77 0.12 117.57
Names
—
Lists

Codes

FormatValue
HEX#afbf66
RGBrgb(175 191 102)
HSLhsl(70.79 41.01% 57.45%)
OKLCHoklch(0.77 0.12 117.57)
CMYKcmyk(8.38% 0% 46.6% 25.1%)
Android#ffafbf66

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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