Skip to content
Vectorlight.net

#ab771b

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

HEX
#ab771b
RGB
171, 119, 27
HSL
38.33°, 72.73%, 38.82%
OKLCH
0.61 0.12 75.76
Names
—
Lists

Codes

FormatValue
HEX#ab771b
RGBrgb(171 119 27)
HSLhsl(38.33 72.73% 38.82%)
OKLCHoklch(0.61 0.12 75.76)
CMYKcmyk(0% 30.41% 84.21% 32.94%)
Android#ffab771b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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