Skip to content

#42df4b

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

RGB
66, 223, 75
HSL
123°, 71%, 57%
CMYK
70, 0, 66, 13
Luminance
0.5444

Every format

HEX#42df4b
RGBrgb(66, 223, 75)
HSLhsl(123, 71%, 57%)
CMYKcmyk(70%, 0%, 66%, 13%)
LABlab(78.7 -68.2 58.7)
LCHlch(78.7 90.0 139.3)
OKLCHoklch(0.794 0.229 143.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42df4b on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#42df4b on black: 11.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green87.5%
Blue29.4%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow66.4%
Key (black)12.5%

Color previews

#42df4b text on a black background

contrast 11.89:1

Card sample

#42df4b text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #42df4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #42df4b in the Color Lab