#8cf040
a balanced, electric green · cool · closest name: lime
RGB
140, 240, 64
HSL
94°, 85%, 60%
CMYK
42, 0, 73, 6
Luminance
0.6827
Every format
| HEX | #8cf040 |
| RGB | rgb(140, 240, 64) |
| HSL | hsl(94, 85%, 60%) |
| CMYK | cmyk(42%, 0%, 73%, 6%) |
| LAB | lab(86.1 -56.7 71.1) |
| LCH | lch(86.1 90.9 128.6) |
| OKLCH | oklch(0.862 0.225 134.9) |
Copy-ready code
/* CSS */
color: #8cf040;
background-color: #8cf040;
/* Tailwind (arbitrary) */
class="text-[#8cf040] bg-[#8cf040]"
/* SCSS */
$brand: #8cf040;
/* SwiftUI */
Color(red: 0.549, green: 0.941, blue: 0.251)
/* Android */
Color.parseColor("#8cf040")Accessibility — WCAG contrast
Aa
#8cf040 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8cf040 on black: 14.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green94.1%
Blue25.1%
CMYK percentages
Cyan41.7%
Magenta0.0%
Yellow73.3%
Key (black)5.9%
Color previews
#8cf040 text on a black background
contrast 14.65:1
Card sample
#8cf040 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8cf040;
Background color
Panel with #8cf040 background
background-color: #8cf040;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8cf040;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 240, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 240, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cf040; background: linear-gradient(135deg, #8cf040, #40F069);