Skip to content

#8cf91f

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

RGB
140, 249, 31
HSL
90°, 95%, 55%
CMYK
44, 0, 88, 2
Luminance
0.7343

Every format

HEX#8cf91f
RGBrgb(140, 249, 31)
HSLhsl(90, 95%, 55%)
CMYKcmyk(44%, 0%, 88%, 2%)
LABlab(88.7 -61.6 81.7)
LCHlch(88.7 102.3 127.0)
OKLCHoklch(0.882 0.248 134.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cf91f on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#8cf91f on black: 15.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green97.6%
Blue12.2%

CMYK percentages

Cyan43.8%
Magenta0.0%
Yellow87.6%
Key (black)2.4%

Color previews

#8cf91f text on a black background

contrast 15.69:1

Card sample

#8cf91f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 249, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 249, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cf91f;
background: linear-gradient(135deg, #8cf91f, #1FF943);

Monochromatic scale

Palettes built from #8cf91f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cf91f in the Color Lab