Skip to content
Vectorlight.net

#ac8a1f

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

HEX
#ac8a1f
RGB
172, 138, 31
HSL
45.53°, 69.46%, 39.8%
OKLCH
0.65 0.12 89.61
Names
—
Lists

Codes

FormatValue
HEX#ac8a1f
RGBrgb(172 138 31)
HSLhsl(45.53 69.46% 39.8%)
OKLCHoklch(0.65 0.12 89.61)
CMYKcmyk(0% 19.77% 81.98% 32.55%)
Android#ffac8a1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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