Skip to content

#8cf97f

a light, electric green · cool · closest name: forestgreen

RGB
140, 249, 127
HSL
114°, 91%, 74%
CMYK
44, 0, 49, 2
Luminance
0.7486

Every format

HEX#8cf97f
RGBrgb(140, 249, 127)
HSLhsl(114, 91%, 74%)
CMYKcmyk(44%, 0%, 49%, 2%)
LABlab(89.3 -54.4 48.7)
LCHlch(89.3 73.0 138.2)
OKLCHoklch(0.889 0.189 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cf97f on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#8cf97f on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green97.6%
Blue49.8%

CMYK percentages

Cyan43.8%
Magenta0.0%
Yellow49.0%
Key (black)2.4%

Color previews

#8cf97f text on a black background

contrast 15.97:1

Card sample

#8cf97f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8cf97f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cf97f in the Color Lab