Skip to content
Vectorlight.net

#afa465

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

HEX
#afa465
RGB
175, 164, 101
HSL
51.08°, 31.62%, 54.12%
OKLCH
0.71 0.08 99.58
Names
—
Lists

Codes

FormatValue
HEX#afa465
RGBrgb(175 164 101)
HSLhsl(51.08 31.62% 54.12%)
OKLCHoklch(0.71 0.08 99.58)
CMYKcmyk(0% 6.29% 42.29% 31.37%)
Android#ffafa465

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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