Skip to content

#8cf157

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

RGB
140, 241, 87
HSL
99°, 85%, 64%
CMYK
42, 0, 64, 6
Luminance
0.6917

Every format

HEX#8cf157
RGBrgb(140, 241, 87)
HSLhsl(99, 85%, 64%)
CMYKcmyk(42%, 0%, 64%, 6%)
LABlab(86.6 -55.4 63.1)
LCHlch(86.6 84.0 131.3)
OKLCHoklch(0.866 0.211 136.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.9%
Green94.5%
Blue34.1%

CMYK percentages

Cyan41.9%
Magenta0.0%
Yellow63.9%
Key (black)5.5%

Color previews

#8cf157 text on a black background

contrast 14.83:1

Card sample

#8cf157 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 241, 87, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 241, 87, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cf157;
background: linear-gradient(135deg, #8cf157, #57F189);

Monochromatic scale

Palettes built from #8cf157

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cf157 in the Color Lab