Skip to content

#a2e921

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

RGB
162, 233, 33
HSL
81°, 82%, 52%
CMYK
31, 0, 86, 9
Luminance
0.6607

Every format

HEX#a2e921
RGBrgb(162, 233, 33)
HSLhsl(81, 82%, 52%)
CMYKcmyk(31%, 0%, 86%, 9%)
LABlab(85.0 -47.8 78.7)
LCHlch(85.0 92.0 121.3)
OKLCHoklch(0.855 0.219 128.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2e921 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#a2e921 on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green91.4%
Blue12.9%

CMYK percentages

Cyan30.5%
Magenta0.0%
Yellow85.8%
Key (black)8.6%

Color previews

#a2e921 text on a black background

contrast 14.21:1

Card sample

#a2e921 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 233, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 233, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2e921;
background: linear-gradient(135deg, #a2e921, #21E925);

Monochromatic scale

Palettes built from #a2e921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2e921 in the Color Lab