Skip to content

#adb821

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

RGB
173, 184, 33
HSL
64°, 70%, 43%
CMYK
6, 0, 82, 28
Luminance
0.4328

Every format

HEX#adb821
RGBrgb(173, 184, 33)
HSLhsl(64, 70%, 43%)
CMYKcmyk(6%, 0%, 82%, 28%)
LABlab(71.7 -21.0 67.6)
LCHlch(71.7 70.8 107.3)
OKLCHoklch(0.749 0.160 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adb821 on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#adb821 on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan6.0%
Magenta0.0%
Yellow82.1%
Key (black)27.8%

Color previews

#adb821 text on a black background

contrast 9.66:1

Card sample

#adb821 text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adb821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adb821 in the Color Lab