#8acd21
a balanced, vivid green · cool · closest name: olivedrab
RGB
138, 205, 33
HSL
83°, 72%, 47%
CMYK
33, 0, 84, 20
Luminance
0.4918
Every format
| HEX | #8acd21 |
| RGB | rgb(138, 205, 33) |
| HSL | hsl(83, 72%, 47%) |
| CMYK | cmyk(33%, 0%, 84%, 20%) |
| LAB | lab(75.6 -44.7 70.1) |
| LCH | lch(75.6 83.1 122.5) |
| OKLCH | oklch(0.774 0.199 130.0) |
Copy-ready code
/* CSS */
color: #8acd21;
background-color: #8acd21;
/* Tailwind (arbitrary) */
class="text-[#8acd21] bg-[#8acd21]"
/* SCSS */
$brand: #8acd21;
/* SwiftUI */
Color(red: 0.541, green: 0.804, blue: 0.129)
/* Android */
Color.parseColor("#8acd21")Accessibility — WCAG contrast
Aa
#8acd21 on white: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8acd21 on black: 10.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green80.4%
Blue12.9%
CMYK percentages
Cyan32.7%
Magenta0.0%
Yellow83.9%
Key (black)19.6%
Color previews
#8acd21 text on a black background
contrast 10.84:1
Card sample
#8acd21 text on a white background
contrast 1.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8acd21;
Background color
Panel with #8acd21 background
background-color: #8acd21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8acd21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 205, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 205, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8acd21; background: linear-gradient(135deg, #8acd21, #21CD2B);