Skip to content
Vectorlight.net

#afa810

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

HEX
#afa810
RGB
175, 168, 16
HSL
57.36°, 83.25%, 37.45%
OKLCH
0.71 0.15 106.57
Names
—
Lists

Codes

FormatValue
HEX#afa810
RGBrgb(175 168 16)
HSLhsl(57.36 83.25% 37.45%)
OKLCHoklch(0.71 0.15 106.57)
CMYKcmyk(0% 4% 90.86% 31.37%)
Android#ffafa810

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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