Skip to content

#ac8921

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

RGB
172, 137, 33
HSL
45°, 68%, 40%
CMYK
0, 20, 81, 33
Luminance
0.2677

Every format

HEX#ac8921
RGBrgb(172, 137, 33)
HSLhsl(45, 68%, 40%)
CMYKcmyk(0%, 20%, 81%, 33%)
LABlab(58.8 3.3 56.2)
LCHlch(58.8 56.3 86.7)
OKLCHoklch(0.646 0.122 88.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8921 on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#ac8921 on black: 6.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green53.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta20.3%
Yellow80.8%
Key (black)32.5%

Color previews

#ac8921 text on a black background

contrast 6.35:1

Card sample

#ac8921 text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8921 in the Color Lab