Skip to content
Vectorlight.net

#afb35c

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

HEX
#afb35c
RGB
175, 179, 92
HSL
62.76°, 36.4%, 53.14%
OKLCH
0.74 0.11 111.15
Names
—
Lists

Codes

FormatValue
HEX#afb35c
RGBrgb(175 179 92)
HSLhsl(62.76 36.4% 53.14%)
OKLCHoklch(0.74 0.11 111.15)
CMYKcmyk(2.23% 0% 48.6% 29.8%)
Android#ffafb35c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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