Skip to content
Vectorlight.net

#afa38b

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

HEX
#afa38b
RGB
175, 163, 139
HSL
40°, 18.37%, 61.57%
OKLCH
0.72 0.04 84.56
Names
—
Lists

Codes

FormatValue
HEX#afa38b
RGBrgb(175 163 139)
HSLhsl(40 18.37% 61.57%)
OKLCHoklch(0.72 0.04 84.56)
CMYKcmyk(0% 6.86% 20.57% 31.37%)
Android#ffafa38b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.48: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="#afa38b"
Gradient stop
<stop stop-color="#afa38b"/>
CSS variable + fill
:root { --c: #afa38b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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