#8cd921
a balanced, vivid green · cool · closest name: yellow
RGB
140, 217, 33
HSL
85°, 74%, 49%
CMYK
36, 0, 85, 15
Luminance
0.5531
Every format
| HEX | #8cd921 |
| RGB | rgb(140, 217, 33) |
| HSL | hsl(85, 74%, 49%) |
| CMYK | cmyk(36%, 0%, 85%, 15%) |
| LAB | lab(79.2 -49.0 73.3) |
| LCH | lch(79.2 88.1 123.8) |
| OKLCH | oklch(0.804 0.212 131.2) |
Copy-ready code
/* CSS */
color: #8cd921;
background-color: #8cd921;
/* Tailwind (arbitrary) */
class="text-[#8cd921] bg-[#8cd921]"
/* SCSS */
$brand: #8cd921;
/* SwiftUI */
Color(red: 0.549, green: 0.851, blue: 0.129)
/* Android */
Color.parseColor("#8cd921")Accessibility — WCAG contrast
Aa
#8cd921 on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8cd921 on black: 12.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green85.1%
Blue12.9%
CMYK percentages
Cyan35.5%
Magenta0.0%
Yellow84.8%
Key (black)14.9%
Color previews
#8cd921 text on a black background
contrast 12.06:1
Card sample
#8cd921 text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8cd921;
Background color
Panel with #8cd921 background
background-color: #8cd921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8cd921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 217, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 217, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cd921; background: linear-gradient(135deg, #8cd921, #21D931);