Skip to content

#aad721

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

RGB
170, 215, 33
HSL
75°, 73%, 49%
CMYK
21, 0, 85, 16
Luminance
0.5726

Every format

HEX#aad721
RGBrgb(170, 215, 33)
HSLhsl(75, 73%, 49%)
CMYKcmyk(21%, 0%, 85%, 16%)
LABlab(80.3 -36.9 74.9)
LCHlch(80.3 83.5 116.3)
OKLCHoklch(0.818 0.195 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aad721 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#aad721 on black: 12.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan20.9%
Magenta0.0%
Yellow84.7%
Key (black)15.7%

Color previews

#aad721 text on a black background

contrast 12.45:1

Card sample

#aad721 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aad721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aad721 in the Color Lab