Skip to content

#42ff20

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

RGB
66, 255, 32
HSL
111°, 100%, 56%
CMYK
74, 0, 88, 0
Luminance
0.7278

Every format

HEX#42ff20
RGBrgb(66, 255, 32)
HSLhsl(111, 100%, 56%)
CMYKcmyk(74%, 0%, 88%, 0%)
LABlab(88.3 -80.5 80.4)
LCHlch(88.3 113.8 135.0)
OKLCHoklch(0.873 0.281 141.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42ff20 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#42ff20 on black: 15.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green100.0%
Blue12.5%

CMYK percentages

Cyan74.1%
Magenta0.0%
Yellow87.5%
Key (black)0.0%

Color previews

#42ff20 text on a black background

contrast 15.56:1

Card sample

#42ff20 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 255, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 255, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42ff20;
background: linear-gradient(135deg, #42ff20, #20FF93);

Monochromatic scale

Palettes built from #42ff20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #42ff20 in the Color Lab