Skip to content
Vectorlight.net

#ab4012

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

HEX
#ab4012
RGB
171, 64, 18
HSL
18.04°, 80.95%, 37.06%
OKLCH
0.51 0.15 40.18
Names
—
Lists

Codes

FormatValue
HEX#ab4012
RGBrgb(171 64 18)
HSLhsl(18.04 80.95% 37.06%)
OKLCHoklch(0.51 0.15 40.18)
CMYKcmyk(0% 62.57% 89.47% 32.94%)
Android#ffab4012

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.47:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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