Skip to content

#aad821

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

RGB
170, 216, 33
HSL
75°, 74%, 49%
CMYK
21, 0, 85, 15
Luminance
0.5777

Every format

HEX#aad821
RGBrgb(170, 216, 33)
HSLhsl(75, 74%, 49%)
CMYKcmyk(21%, 0%, 85%, 15%)
LABlab(80.6 -37.4 75.1)
LCHlch(80.6 83.9 116.5)
OKLCHoklch(0.820 0.196 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aad821 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#aad821 on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green84.7%
Blue12.9%

CMYK percentages

Cyan21.3%
Magenta0.0%
Yellow84.7%
Key (black)15.3%

Color previews

#aad821 text on a black background

contrast 12.55:1

Card sample

#aad821 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 216, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 216, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aad821;
background: linear-gradient(135deg, #aad821, #30D821);

Monochromatic scale

Palettes built from #aad821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aad821 in the Color Lab