Skip to content

#8aec21

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

RGB
138, 236, 33
HSL
89°, 84%, 53%
CMYK
42, 0, 86, 8
Luminance
0.6550

Every format

HEX#8aec21
RGBrgb(138, 236, 33)
HSLhsl(89, 84%, 53%)
CMYKcmyk(42%, 0%, 86%, 8%)
LABlab(84.7 -57.2 78.0)
LCHlch(84.7 96.7 126.3)
OKLCHoklch(0.849 0.234 133.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8aec21 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#8aec21 on black: 14.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green92.5%
Blue12.9%

CMYK percentages

Cyan41.5%
Magenta0.0%
Yellow86.0%
Key (black)7.5%

Color previews

#8aec21 text on a black background

contrast 14.10:1

Card sample

#8aec21 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8aec21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8aec21 in the Color Lab