Skip to content

#abbb21

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

RGB
171, 187, 33
HSL
66°, 70%, 43%
CMYK
9, 0, 82, 27
Luminance
0.4431

Every format

HEX#abbb21
RGBrgb(171, 187, 33)
HSLhsl(66, 70%, 43%)
CMYKcmyk(9%, 0%, 82%, 27%)
LABlab(72.4 -23.4 68.2)
LCHlch(72.4 72.1 108.9)
OKLCHoklch(0.754 0.164 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abbb21 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#abbb21 on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green73.3%
Blue12.9%

CMYK percentages

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

Color previews

#abbb21 text on a black background

contrast 9.86:1

Card sample

#abbb21 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abbb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abbb21 in the Color Lab