Skip to content

#9edc21

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

RGB
158, 220, 33
HSL
80°, 74%, 50%
CMYK
28, 0, 85, 14
Luminance
0.5857

Every format

HEX#9edc21
RGBrgb(158, 220, 33)
HSLhsl(80, 74%, 50%)
CMYKcmyk(28%, 0%, 85%, 14%)
LABlab(81.0 -43.7 75.2)
LCHlch(81.0 87.0 120.2)
OKLCHoklch(0.822 0.206 127.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9edc21 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#9edc21 on black: 12.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.0%
Green86.3%
Blue12.9%

CMYK percentages

Cyan28.2%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#9edc21 text on a black background

contrast 12.71:1

Card sample

#9edc21 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(158, 220, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(158, 220, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9edc21;
background: linear-gradient(135deg, #9edc21, #21DC21);

Monochromatic scale

Palettes built from #9edc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9edc21 in the Color Lab