Skip to content

#42df2f

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

RGB
66, 223, 47
HSL
114°, 73%, 53%
CMYK
70, 0, 79, 13
Luminance
0.5414

Every format

HEX#42df2f
RGBrgb(66, 223, 47)
HSLhsl(114, 73%, 53%)
CMYKcmyk(70%, 0%, 79%, 13%)
LABlab(78.5 -70.3 68.2)
LCHlch(78.5 98.0 135.9)
OKLCHoklch(0.792 0.244 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42df2f on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#42df2f on black: 11.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green87.5%
Blue18.4%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow78.9%
Key (black)12.5%

Color previews

#42df2f text on a black background

contrast 11.83:1

Card sample

#42df2f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 223, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 223, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #42df2f;
background: linear-gradient(135deg, #42df2f, #2FDF91);

Monochromatic scale

Palettes built from #42df2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #42df2f in the Color Lab