Skip to content
Vectorlight.net

#afa978

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

HEX
#afa978
RGB
175, 169, 120
HSL
53.45°, 25.58%, 57.84%
OKLCH
0.73 0.07 101.99
Names
—
Lists

Codes

FormatValue
HEX#afa978
RGBrgb(175 169 120)
HSLhsl(53.45 25.58% 57.84%)
OKLCHoklch(0.73 0.07 101.99)
CMYKcmyk(0% 3.43% 31.43% 31.37%)
Android#ffafa978

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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