Skip to content

#8df20c

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

RGB
141, 242, 12
HSL
86°, 91%, 50%
CMYK
42, 0, 95, 5
Luminance
0.6919

Every format

HEX#8df20c
RGBrgb(141, 242, 12)
HSLhsl(86, 91%, 50%)
CMYKcmyk(42%, 0%, 95%, 5%)
LABlab(86.6 -59.0 82.5)
LCHlch(86.6 101.4 125.6)
OKLCHoklch(0.865 0.243 133.3)

Copy-ready code

/* CSS */
color: #8df20c;
background-color: #8df20c;
/* Tailwind (arbitrary) */
class="text-[#8df20c] bg-[#8df20c]"
/* SCSS */
$brand: #8df20c;
/* SwiftUI */
Color(red: 0.553, green: 0.949, blue: 0.047)
/* Android */
Color.parseColor("#8df20c")

Accessibility — WCAG contrast

Aa
#8df20c on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#8df20c on black: 14.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.3%
Green94.9%
Blue4.7%

CMYK percentages

Cyan41.7%
Magenta0.0%
Yellow95.0%
Key (black)5.1%

Color previews

#8df20c text on a black background

contrast 14.84:1

Card sample

#8df20c text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8df20c;
Background color
Panel with #8df20c background
background-color: #8df20c;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 242, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 242, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8df20c;
background: linear-gradient(135deg, #8df20c, #0CF224);

Monochromatic scale

Palettes built from #8df20c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8df20c in the Color Lab