Skip to content

#ac9021

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

RGB
172, 144, 33
HSL
48°, 68%, 40%
CMYK
0, 16, 81, 33
Luminance
0.2883

Every format

HEX#ac9021
RGBrgb(172, 144, 33)
HSLhsl(48, 68%, 40%)
CMYKcmyk(0%, 16%, 81%, 33%)
LABlab(60.6 -0.6 57.9)
LCHlch(60.6 57.9 90.6)
OKLCHoklch(0.660 0.126 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9021 on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#ac9021 on black: 6.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green56.5%
Blue12.9%

CMYK percentages

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

Color previews

#ac9021 text on a black background

contrast 6.77:1

Card sample

#ac9021 text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9021 in the Color Lab