Skip to content

#adc821

a balanced, vivid yellow · cool · closest name: olivedrab

RGB
173, 200, 33
HSL
70°, 72%, 46%
CMYK
14, 0, 84, 22
Luminance
0.5030

Every format

HEX#adc821
RGBrgb(173, 200, 33)
HSLhsl(70, 72%, 46%)
CMYKcmyk(14%, 0%, 84%, 22%)
LABlab(76.3 -28.8 71.5)
LCHlch(76.3 77.1 111.9)
OKLCHoklch(0.785 0.177 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adc821 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#adc821 on black: 11.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green78.4%
Blue12.9%

CMYK percentages

Cyan13.5%
Magenta0.0%
Yellow83.5%
Key (black)21.6%

Color previews

#adc821 text on a black background

contrast 11.06:1

Card sample

#adc821 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adc821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adc821 in the Color Lab