Skip to content
Vectorlight.net

#a5987f

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

HEX
#a5987f
RGB
165, 152, 127
HSL
39.47°, 17.43%, 57.25%
OKLCH
0.68 0.04 83.71
Names
—
Lists

Codes

FormatValue
HEX#a5987f
RGBrgb(165 152 127)
HSLhsl(39.47 17.43% 57.25%)
OKLCHoklch(0.68 0.04 83.71)
CMYKcmyk(0% 7.88% 23.03% 35.29%)
Android#ffa5987f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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