Skip to content

#42df4f

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

RGB
66, 223, 79
HSL
125°, 71%, 57%
CMYK
70, 0, 65, 13
Luminance
0.5450

Every format

HEX#42df4f
RGBrgb(66, 223, 79)
HSLhsl(125, 71%, 57%)
CMYKcmyk(70%, 0%, 65%, 13%)
LABlab(78.8 -67.8 57.1)
LCHlch(78.8 88.6 139.9)
OKLCHoklch(0.794 0.226 144.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#42df4f on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#42df4f on black: 11.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green87.5%
Blue31.0%

CMYK percentages

Cyan70.4%
Magenta0.0%
Yellow64.6%
Key (black)12.5%

Color previews

#42df4f text on a black background

contrast 11.90:1

Card sample

#42df4f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #42df4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #42df4f in the Color Lab