Skip to content

#abba21

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

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

Every format

HEX#abba21
RGBrgb(171, 186, 33)
HSLhsl(66, 70%, 43%)
CMYKcmyk(8%, 0%, 82%, 27%)
LABlab(72.2 -22.9 67.9)
LCHlch(72.2 71.7 108.6)
OKLCHoklch(0.752 0.163 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abba21 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#abba21 on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green72.9%
Blue12.9%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow82.3%
Key (black)27.1%

Color previews

#abba21 text on a black background

contrast 9.78:1

Card sample

#abba21 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abba21 in the Color Lab