Skip to content

#acba21

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

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

Every format

HEX#acba21
RGBrgb(172, 186, 33)
HSLhsl(66, 70%, 43%)
CMYKcmyk(8%, 0%, 82%, 27%)
LABlab(72.2 -22.4 68.0)
LCHlch(72.2 71.6 108.3)
OKLCHoklch(0.753 0.163 115.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acba21 on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#acba21 on black: 9.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow82.3%
Key (black)27.1%

Color previews

#acba21 text on a black background

contrast 9.80:1

Card sample

#acba21 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #acba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acba21 in the Color Lab