Skip to content
Vectorlight.net

#ab841b

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

HEX
#ab841b
RGB
171, 132, 27
HSL
43.75°, 72.73%, 38.82%
OKLCH
0.63 0.12 86.08
Names
—
Lists

Codes

FormatValue
HEX#ab841b
RGBrgb(171 132 27)
HSLhsl(43.75 72.73% 38.82%)
OKLCHoklch(0.63 0.12 86.08)
CMYKcmyk(0% 22.81% 84.21% 32.94%)
Android#ffab841b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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