Skip to content

#a5ef21

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

RGB
165, 239, 33
HSL
82°, 87%, 53%
CMYK
31, 0, 86, 6
Luminance
0.6984

Every format

HEX#a5ef21
RGBrgb(165, 239, 33)
HSLhsl(82, 87%, 53%)
CMYKcmyk(31%, 0%, 86%, 6%)
LABlab(86.9 -49.2 80.3)
LCHlch(86.9 94.2 121.5)
OKLCHoklch(0.871 0.224 129.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a5ef21 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#a5ef21 on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green93.7%
Blue12.9%

CMYK percentages

Cyan31.0%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#a5ef21 text on a black background

contrast 14.97:1

Card sample

#a5ef21 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a5ef21 in the Color Lab