Skip to content

#8fec1f

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

RGB
143, 236, 31
HSL
87°, 84%, 52%
CMYK
39, 0, 87, 8
Luminance
0.6593

Every format

HEX#8fec1f
RGBrgb(143, 236, 31)
HSLhsl(87, 84%, 52%)
CMYKcmyk(39%, 0%, 87%, 8%)
LABlab(85.0 -55.6 78.6)
LCHlch(85.0 96.3 125.3)
OKLCHoklch(0.852 0.232 132.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8fec1f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#8fec1f on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green92.5%
Blue12.2%

CMYK percentages

Cyan39.4%
Magenta0.0%
Yellow86.9%
Key (black)7.5%

Color previews

#8fec1f text on a black background

contrast 14.19:1

Card sample

#8fec1f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8fec1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fec1f in the Color Lab