Skip to content
Vectorlight.net

#ac940b

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

HEX
#ac940b
RGB
172, 148, 11
HSL
51.06°, 87.98%, 35.88%
OKLCH
0.67 0.14 97.32
Names
—
Lists

Codes

FormatValue
HEX#ac940b
RGBrgb(172 148 11)
HSLhsl(51.06 87.98% 35.88%)
OKLCHoklch(0.67 0.14 97.32)
CMYKcmyk(0% 13.95% 93.6% 32.55%)
Android#ffac940b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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