Skip to content

#8df52c

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

RGB
141, 245, 44
HSL
91°, 91%, 57%
CMYK
42, 0, 82, 4
Luminance
0.7115

Every format

HEX#8df52c
RGBrgb(141, 245, 44)
HSLhsl(91, 91%, 57%)
CMYKcmyk(42%, 0%, 82%, 4%)
LABlab(87.6 -59.3 78.1)
LCHlch(87.6 98.1 127.2)
OKLCHoklch(0.873 0.239 134.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8df52c on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#8df52c on black: 15.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.3%
Green96.1%
Blue17.3%

CMYK percentages

Cyan42.4%
Magenta0.0%
Yellow82.0%
Key (black)3.9%

Color previews

#8df52c text on a black background

contrast 15.23:1

Card sample

#8df52c text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8df52c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8df52c in the Color Lab