#8ccf21
a balanced, vivid green · cool · closest name: olivedrab
RGB
140, 207, 33
HSL
83°, 73%, 47%
CMYK
32, 0, 84, 19
Luminance
0.5031
Every format
| HEX | #8ccf21 |
| RGB | rgb(140, 207, 33) |
| HSL | hsl(83, 73%, 47%) |
| CMYK | cmyk(32%, 0%, 84%, 19%) |
| LAB | lab(76.3 -44.8 70.7) |
| LCH | lch(76.3 83.7 122.4) |
| OKLCH | oklch(0.780 0.201 129.8) |
Copy-ready code
/* CSS */
color: #8ccf21;
background-color: #8ccf21;
/* Tailwind (arbitrary) */
class="text-[#8ccf21] bg-[#8ccf21]"
/* SCSS */
$brand: #8ccf21;
/* SwiftUI */
Color(red: 0.549, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#8ccf21")Accessibility — WCAG contrast
Aa
#8ccf21 on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ccf21 on black: 11.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green81.2%
Blue12.9%
CMYK percentages
Cyan32.4%
Magenta0.0%
Yellow84.1%
Key (black)18.8%
Color previews
#8ccf21 text on a black background
contrast 11.06:1
Card sample
#8ccf21 text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ccf21;
Background color
Panel with #8ccf21 background
background-color: #8ccf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ccf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ccf21; background: linear-gradient(135deg, #8ccf21, #21CF2A);