Skip to content
Vectorlight.net

#afb875

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

HEX
#afb875
RGB
175, 184, 117
HSL
68.06°, 32.06%, 59.02%
OKLCH
0.76 0.09 114.8
Names
—
Lists

Codes

FormatValue
HEX#afb875
RGBrgb(175 184 117)
HSLhsl(68.06 32.06% 59.02%)
OKLCHoklch(0.76 0.09 114.8)
CMYKcmyk(4.89% 0% 36.41% 27.84%)
Android#ffafb875

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.93: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="#afb875"
Gradient stop
<stop stop-color="#afb875"/>
CSS variable + fill
:root { --c: #afb875; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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