Skip to content

#42ef21

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

RGB
66, 239, 33
HSL
110°, 87%, 53%
CMYK
72, 0, 86, 6
Luminance
0.6300

Every format

HEX#42ef21
RGBrgb(66, 239, 33)
HSLhsl(110, 87%, 53%)
CMYKcmyk(72%, 0%, 86%, 6%)
LABlab(83.4 -75.8 76.0)
LCHlch(83.4 107.4 134.9)
OKLCHoklch(0.833 0.266 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42ef21 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#42ef21 on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green93.7%
Blue12.9%

CMYK percentages

Cyan72.4%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#42ef21 text on a black background

contrast 13.60:1

Card sample

#42ef21 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #42ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #42ef21 in the Color Lab