Skip to content
Vectorlight.net

#afb95f

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

HEX
#afb95f
RGB
175, 185, 95
HSL
66.67°, 39.13%, 54.9%
OKLCH
0.76 0.12 114.41
Names
—
Lists

Codes

FormatValue
HEX#afb95f
RGBrgb(175 185 95)
HSLhsl(66.67 39.13% 54.9%)
OKLCHoklch(0.76 0.12 114.41)
CMYKcmyk(5.41% 0% 48.65% 27.45%)
Android#ffafb95f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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