Skip to content
Vectorlight.net

#afaa3f

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

HEX
#afaa3f
RGB
175, 170, 63
HSL
57.32°, 47.06%, 46.67%
OKLCH
0.72 0.13 106.63
Names
—
Lists

Codes

FormatValue
HEX#afaa3f
RGBrgb(175 170 63)
HSLhsl(57.32 47.06% 46.67%)
OKLCHoklch(0.72 0.13 106.63)
CMYKcmyk(0% 2.86% 64% 31.37%)
Android#ffafaa3f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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