Skip to content
Vectorlight.net

#afaa2d

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

HEX
#afaa2d
RGB
175, 170, 45
HSL
57.69°, 59.09%, 43.14%
OKLCH
0.72 0.14 107.1
Names
—
Lists

Codes

FormatValue
HEX#afaa2d
RGBrgb(175 170 45)
HSLhsl(57.69 59.09% 43.14%)
OKLCHoklch(0.72 0.14 107.1)
CMYKcmyk(0% 2.86% 74.29% 31.37%)
Android#ffafaa2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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