Skip to content
Vectorlight.net

#ab951c

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

HEX
#ab951c
RGB
171, 149, 28
HSL
50.77°, 71.86%, 39.02%
OKLCH
0.67 0.13 97.88
Names
—
Lists

Codes

FormatValue
HEX#ab951c
RGBrgb(171 149 28)
HSLhsl(50.77 71.86% 39.02%)
OKLCHoklch(0.67 0.13 97.88)
CMYKcmyk(0% 12.87% 83.63% 32.94%)
Android#ffab951c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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