Skip to content

#8edc21

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

RGB
142, 220, 33
HSL
85°, 74%, 50%
CMYK
36, 0, 85, 14
Luminance
0.5705

Every format

HEX#8edc21
RGBrgb(142, 220, 33)
HSLhsl(85, 74%, 50%)
CMYKcmyk(36%, 0%, 85%, 14%)
LABlab(80.2 -49.5 74.2)
LCHlch(80.2 89.2 123.7)
OKLCHoklch(0.813 0.214 131.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8edc21 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#8edc21 on black: 12.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.7%
Green86.3%
Blue12.9%

CMYK percentages

Cyan35.5%
Magenta0.0%
Yellow85.0%
Key (black)13.7%

Color previews

#8edc21 text on a black background

contrast 12.41:1

Card sample

#8edc21 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8edc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8edc21 in the Color Lab