Skip to content
Vectorlight.net

#a6987f

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

HEX
#a6987f
RGB
166, 152, 127
HSL
38.46°, 17.97%, 57.45%
OKLCH
0.69 0.04 82.09
Names
—
Lists

Codes

FormatValue
HEX#a6987f
RGBrgb(166 152 127)
HSLhsl(38.46 17.97% 57.45%)
OKLCHoklch(0.69 0.04 82.09)
CMYKcmyk(0% 8.43% 23.49% 34.9%)
Android#ffa6987f

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

Recolor an SVG with this color

CSS

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