Skip to content

#87ef21

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

RGB
135, 239, 33
HSL
90°, 87%, 53%
CMYK
44, 0, 86, 6
Luminance
0.6699

Every format

HEX#87ef21
RGBrgb(135, 239, 33)
HSLhsl(90, 87%, 53%)
CMYKcmyk(44%, 0%, 86%, 6%)
LABlab(85.5 -59.3 78.6)
LCHlch(85.5 98.4 127.0)
OKLCHoklch(0.855 0.239 134.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#87ef21 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#87ef21 on black: 14.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red52.9%
Green93.7%
Blue12.9%

CMYK percentages

Cyan43.5%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#87ef21 text on a black background

contrast 14.40:1

Card sample

#87ef21 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #87ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #87ef21 in the Color Lab