Skip to content

#adab21

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

RGB
173, 171, 33
HSL
59°, 68%, 40%
CMYK
0, 1, 81, 32
Luminance
0.3812

Every format

HEX#adab21
RGBrgb(173, 171, 33)
HSLhsl(59, 68%, 40%)
CMYKcmyk(0%, 1%, 81%, 32%)
LABlab(68.1 -14.4 64.5)
LCHlch(68.1 66.1 102.6)
OKLCHoklch(0.720 0.147 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adab21 on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#adab21 on black: 8.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green67.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow80.9%
Key (black)32.2%

Color previews

#adab21 text on a black background

contrast 8.62:1

Card sample

#adab21 text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adab21 in the Color Lab