Skip to content

#a9cc21

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

RGB
169, 204, 33
HSL
72°, 72%, 47%
CMYK
17, 0, 84, 20
Luminance
0.5173

Every format

HEX#a9cc21
RGBrgb(169, 204, 33)
HSLhsl(72, 72%, 47%)
CMYKcmyk(17%, 0%, 84%, 20%)
LABlab(77.1 -32.3 72.1)
LCHlch(77.1 79.0 114.1)
OKLCHoklch(0.792 0.183 121.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a9cc21 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#a9cc21 on black: 11.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green80.0%
Blue12.9%

CMYK percentages

Cyan17.2%
Magenta0.0%
Yellow83.8%
Key (black)20.0%

Color previews

#a9cc21 text on a black background

contrast 11.35:1

Card sample

#a9cc21 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(169, 204, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(169, 204, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a9cc21;
background: linear-gradient(135deg, #a9cc21, #37CC21);

Monochromatic scale

Palettes built from #a9cc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a9cc21 in the Color Lab