Skip to content
Vectorlight.net

#ac8b04

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

HEX
#ac8b04
RGB
172, 139, 4
HSL
48.21°, 95.45%, 34.51%
OKLCH
0.65 0.13 91.76
Names
—
Lists

Codes

FormatValue
HEX#ac8b04
RGBrgb(172 139 4)
HSLhsl(48.21 95.45% 34.51%)
OKLCHoklch(0.65 0.13 91.76)
CMYKcmyk(0% 19.19% 97.67% 32.55%)
Android#ffac8b04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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