Skip to content
Vectorlight.net

#ab950f

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

HEX
#ab950f
RGB
171, 149, 15
HSL
51.54°, 83.87%, 36.47%
OKLCH
0.67 0.14 98.35
Names
—
Lists

Codes

FormatValue
HEX#ab950f
RGBrgb(171 149 15)
HSLhsl(51.54 83.87% 36.47%)
OKLCHoklch(0.67 0.14 98.35)
CMYKcmyk(0% 12.87% 91.23% 32.94%)
Android#ffab950f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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