Skip to content
Vectorlight.net

#afac05

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

HEX
#afac05
RGB
175, 172, 5
HSL
58.94°, 94.44%, 35.29%
OKLCH
0.72 0.16 108.47
Names
—
Lists

Codes

FormatValue
HEX#afac05
RGBrgb(175 172 5)
HSLhsl(58.94 94.44% 35.29%)
OKLCHoklch(0.72 0.16 108.47)
CMYKcmyk(0% 1.71% 97.14% 31.37%)
Android#ffafac05

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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