Skip to content
Vectorlight.net

#ab7342

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

HEX
#ab7342
RGB
171, 115, 66
HSL
28°, 44.3%, 46.47%
OKLCH
0.6 0.1 60.6
Names
—
Lists

Codes

FormatValue
HEX#ab7342
RGBrgb(171 115 66)
HSLhsl(28 44.3% 46.47%)
OKLCHoklch(0.6 0.1 60.6)
CMYKcmyk(0% 32.75% 61.4% 32.94%)
Android#ffab7342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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