Skip to content

#ac8721

a dark, vivid yellow · warm · closest name: olive

RGB
172, 135, 33
HSL
44°, 68%, 40%
CMYK
0, 22, 81, 33
Luminance
0.2621

Every format

HEX#ac8721
RGBrgb(172, 135, 33)
HSLhsl(44, 68%, 40%)
CMYKcmyk(0%, 22%, 81%, 33%)
LABlab(58.2 4.4 55.8)
LCHlch(58.2 55.9 85.5)
OKLCHoklch(0.642 0.121 87.2)

Copy-ready code

/* CSS */
color: #ac8721;
background-color: #ac8721;
/* Tailwind (arbitrary) */
class="text-[#ac8721] bg-[#ac8721]"
/* SCSS */
$brand: #ac8721;
/* SwiftUI */
Color(red: 0.675, green: 0.529, blue: 0.129)
/* Android */
Color.parseColor("#ac8721")

Accessibility — WCAG contrast

Aa
#ac8721 on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#ac8721 on black: 6.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green52.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.5%
Yellow80.8%
Key (black)32.5%

Color previews

#ac8721 text on a black background

contrast 6.24:1

Card sample

#ac8721 text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ac8721;
Background color
Panel with #ac8721 background
background-color: #ac8721;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ac8721;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(172, 135, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 135, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac8721;
background: linear-gradient(135deg, #ac8721, #74AC21);

Monochromatic scale

Palettes built from #ac8721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8721 in the Color Lab