Skip to content

#aca921

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

RGB
172, 169, 33
HSL
59°, 68%, 40%
CMYK
0, 2, 81, 33
Luminance
0.3726

Every format

HEX#aca921
RGBrgb(172, 169, 33)
HSLhsl(59, 68%, 40%)
CMYKcmyk(0%, 2%, 81%, 33%)
LABlab(67.5 -13.8 63.9)
LCHlch(67.5 65.4 102.2)
OKLCHoklch(0.715 0.145 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aca921 on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#aca921 on black: 8.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green66.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow80.8%
Key (black)32.5%

Color previews

#aca921 text on a black background

contrast 8.45:1

Card sample

#aca921 text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aca921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aca921 in the Color Lab