Skip to content

#aba921

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

RGB
171, 169, 33
HSL
59°, 68%, 40%
CMYK
0, 1, 81, 33
Luminance
0.3714

Every format

HEX#aba921
RGBrgb(171, 169, 33)
HSLhsl(59, 68%, 40%)
CMYKcmyk(0%, 1%, 81%, 33%)
LABlab(67.4 -14.3 63.8)
LCHlch(67.4 65.4 102.6)
OKLCHoklch(0.714 0.146 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aba921 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#aba921 on black: 8.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green66.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow80.7%
Key (black)32.9%

Color previews

#aba921 text on a black background

contrast 8.43:1

Card sample

#aba921 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aba921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aba921 in the Color Lab