#8cdf12
a balanced, electric green · cool · closest name: lime
RGB
140, 223, 18
HSL
84°, 85%, 47%
CMYK
37, 0, 92, 13
Luminance
0.5839
Every format
| HEX | #8cdf12 |
| RGB | rgb(140, 223, 18) |
| HSL | hsl(84, 85%, 47%) |
| CMYK | cmyk(37%, 0%, 92%, 13%) |
| LAB | lab(81.0 -51.8 77.3) |
| LCH | lch(81.0 93.1 123.8) |
| OKLCH | oklch(0.819 0.222 131.6) |
Copy-ready code
/* CSS */
color: #8cdf12;
background-color: #8cdf12;
/* Tailwind (arbitrary) */
class="text-[#8cdf12] bg-[#8cdf12]"
/* SCSS */
$brand: #8cdf12;
/* SwiftUI */
Color(red: 0.549, green: 0.875, blue: 0.071)
/* Android */
Color.parseColor("#8cdf12")Accessibility — WCAG contrast
Aa
#8cdf12 on white: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8cdf12 on black: 12.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green87.5%
Blue7.1%
CMYK percentages
Cyan37.2%
Magenta0.0%
Yellow91.9%
Key (black)12.5%
Color previews
#8cdf12 text on a black background
contrast 12.68:1
Card sample
#8cdf12 text on a white background
contrast 1.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8cdf12;
Background color
Panel with #8cdf12 background
background-color: #8cdf12;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8cdf12;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 223, 18, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 223, 18, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cdf12; background: linear-gradient(135deg, #8cdf12, #12DF21);