Skip to content
Vectorlight.net

#ab7946

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

HEX
#ab7946
RGB
171, 121, 70
HSL
30.3°, 41.91%, 47.25%
OKLCH
0.62 0.09 65.2
Names
—
Lists

Codes

FormatValue
HEX#ab7946
RGBrgb(171 121 70)
HSLhsl(30.3 41.91% 47.25%)
OKLCHoklch(0.62 0.09 65.2)
CMYKcmyk(0% 29.24% 59.06% 32.94%)
Android#ffab7946

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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