Skip to content

#acb921

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

RGB
172, 185, 33
HSL
65°, 70%, 43%
CMYK
7, 0, 82, 28
Luminance
0.4358

Every format

HEX#acb921
RGBrgb(172, 185, 33)
HSLhsl(65, 70%, 43%)
CMYKcmyk(7%, 0%, 82%, 28%)
LABlab(72.0 -21.9 67.8)
LCHlch(72.0 71.2 107.9)
OKLCHoklch(0.751 0.162 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acb921 on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#acb921 on black: 9.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green72.5%
Blue12.9%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow82.2%
Key (black)27.5%

Color previews

#acb921 text on a black background

contrast 9.72:1

Card sample

#acb921 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acb921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acb921 in the Color Lab