Skip to content

#acbb21

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

RGB
172, 187, 33
HSL
66°, 70%, 43%
CMYK
8, 0, 82, 27
Luminance
0.4442

Every format

HEX#acbb21
RGBrgb(172, 187, 33)
HSLhsl(66, 70%, 43%)
CMYKcmyk(8%, 0%, 82%, 27%)
LABlab(72.5 -22.9 68.3)
LCHlch(72.5 72.0 108.6)
OKLCHoklch(0.755 0.164 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acbb21 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#acbb21 on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green73.3%
Blue12.9%

CMYK percentages

Cyan8.0%
Magenta0.0%
Yellow82.4%
Key (black)26.7%

Color previews

#acbb21 text on a black background

contrast 9.88:1

Card sample

#acbb21 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acbb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acbb21 in the Color Lab