Skip to content

#acab21

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

RGB
172, 171, 33
HSL
60°, 68%, 40%
CMYK
0, 1, 81, 33
Luminance
0.3801

Every format

HEX#acab21
RGBrgb(172, 171, 33)
HSLhsl(60, 68%, 40%)
CMYKcmyk(0%, 1%, 81%, 33%)
LABlab(68.0 -14.9 64.4)
LCHlch(68.0 66.1 103.0)
OKLCHoklch(0.719 0.147 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acab21 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#acab21 on black: 8.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green67.1%
Blue12.9%

CMYK percentages

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

Color previews

#acab21 text on a black background

contrast 8.60:1

Card sample

#acab21 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acab21 in the Color Lab