#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 |
| RGB | rgb(140, 241, 87) |
| HSL | hsl(99, 85%, 64%) |
| CMYK | cmyk(42%, 0%, 64%, 6%) |
| LAB | lab(86.6 -55.4 63.1) |
| LCH | lch(86.6 84.0 131.3) |
| OKLCH | oklch(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);