Skip to content

#adef21

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

RGB
173, 239, 33
HSL
79°, 87%, 53%
CMYK
28, 0, 86, 6
Luminance
0.7073

Every format

HEX#adef21
RGBrgb(173, 239, 33)
HSLhsl(79, 87%, 53%)
CMYKcmyk(28%, 0%, 86%, 6%)
LABlab(87.3 -46.3 80.9)
LCHlch(87.3 93.2 119.8)
OKLCHoklch(0.875 0.220 127.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adef21 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#adef21 on black: 15.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green93.7%
Blue12.9%

CMYK percentages

Cyan27.6%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#adef21 text on a black background

contrast 15.15:1

Card sample

#adef21 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adef21 in the Color Lab