#8ead21
a dark, vivid green · cool · closest name: olivedrab
RGB
142, 173, 33
HSL
73°, 68%, 40%
CMYK
18, 0, 81, 32
Luminance
0.3575
Every format
| HEX | #8ead21 |
| RGB | rgb(142, 173, 33) |
| HSL | hsl(73, 68%, 40%) |
| CMYK | cmyk(18%, 0%, 81%, 32%) |
| LAB | lab(66.3 -28.7 62.0) |
| LCH | lch(66.3 68.3 114.9) |
| OKLCH | oklch(0.700 0.160 122.1) |
Copy-ready code
/* CSS */
color: #8ead21;
background-color: #8ead21;
/* Tailwind (arbitrary) */
class="text-[#8ead21] bg-[#8ead21]"
/* SCSS */
$brand: #8ead21;
/* SwiftUI */
Color(red: 0.557, green: 0.678, blue: 0.129)
/* Android */
Color.parseColor("#8ead21")Accessibility — WCAG contrast
Aa
#8ead21 on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ead21 on black: 8.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red55.7%
Green67.8%
Blue12.9%
CMYK percentages
Cyan17.9%
Magenta0.0%
Yellow80.9%
Key (black)32.2%
Color previews
#8ead21 text on a black background
contrast 8.15:1
Card sample
#8ead21 text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ead21;
Background color
Panel with #8ead21 background
background-color: #8ead21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ead21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(142, 173, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 173, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ead21; background: linear-gradient(135deg, #8ead21, #31AD21);