Skip to content
Vectorlight.net

#ac8a0c

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

HEX
#ac8a0c
RGB
172, 138, 12
HSL
47.25°, 86.96%, 36.08%
OKLCH
0.65 0.13 90.81
Names
—
Lists

Codes

FormatValue
HEX#ac8a0c
RGBrgb(172 138 12)
HSLhsl(47.25 86.96% 36.08%)
OKLCHoklch(0.65 0.13 90.81)
CMYKcmyk(0% 19.77% 93.02% 32.55%)
Android#ffac8a0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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