#8cf51f
a balanced, electric green · cool · closest name: lime
RGB
140, 245, 31
HSL
89°, 92%, 54%
CMYK
43, 0, 87, 4
Luminance
0.7098
Every format
| HEX | #8cf51f |
| RGB | rgb(140, 245, 31) |
| HSL | hsl(89, 92%, 54%) |
| CMYK | cmyk(43%, 0%, 87%, 4%) |
| LAB | lab(87.5 -60.1 80.7) |
| LCH | lch(87.5 100.6 126.7) |
| OKLCH | oklch(0.872 0.243 134.0) |
Copy-ready code
/* CSS */
color: #8cf51f;
background-color: #8cf51f;
/* Tailwind (arbitrary) */
class="text-[#8cf51f] bg-[#8cf51f]"
/* SCSS */
$brand: #8cf51f;
/* SwiftUI */
Color(red: 0.549, green: 0.961, blue: 0.122)
/* Android */
Color.parseColor("#8cf51f")Accessibility — WCAG contrast
Aa
#8cf51f on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8cf51f on black: 15.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green96.1%
Blue12.2%
CMYK percentages
Cyan42.9%
Magenta0.0%
Yellow87.3%
Key (black)3.9%
Color previews
#8cf51f text on a black background
contrast 15.20:1
Card sample
#8cf51f text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8cf51f;
Background color
Panel with #8cf51f background
background-color: #8cf51f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8cf51f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 245, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 245, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cf51f; background: linear-gradient(135deg, #8cf51f, #1FF540);