Skip to content

#ac8021

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

RGB
172, 128, 33
HSL
41°, 68%, 40%
CMYK
0, 26, 81, 33
Luminance
0.2432

Every format

HEX#ac8021
RGBrgb(172, 128, 33)
HSLhsl(41, 68%, 40%)
CMYKcmyk(0%, 26%, 81%, 33%)
LABlab(56.4 8.3 54.1)
LCHlch(56.4 54.7 81.3)
OKLCHoklch(0.627 0.118 81.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8021 on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#ac8021 on black: 5.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta25.6%
Yellow80.8%
Key (black)32.5%

Color previews

#ac8021 text on a black background

contrast 5.86:1

Card sample

#ac8021 text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8021 in the Color Lab