Skip to content

#adba21

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

RGB
173, 186, 33
HSL
65°, 70%, 43%
CMYK
7, 0, 82, 27
Luminance
0.4411

Every format

HEX#adba21
RGBrgb(173, 186, 33)
HSLhsl(65, 70%, 43%)
CMYKcmyk(7%, 0%, 82%, 27%)
LABlab(72.3 -22.0 68.1)
LCHlch(72.3 71.6 107.9)
OKLCHoklch(0.754 0.162 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green72.9%
Blue12.9%

CMYK percentages

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

Color previews

#adba21 text on a black background

contrast 9.82:1

Card sample

#adba21 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adba21 in the Color Lab