#8bac21
a dark, vivid green · cool · closest name: olivedrab
RGB
139, 172, 33
HSL
74°, 68%, 40%
CMYK
19, 0, 81, 33
Luminance
0.3510
Every format
| HEX | #8bac21 |
| RGB | rgb(139, 172, 33) |
| HSL | hsl(74, 68%, 40%) |
| CMYK | cmyk(19%, 0%, 81%, 33%) |
| LAB | lab(65.8 -29.5 61.5) |
| LCH | lch(65.8 68.2 115.6) |
| OKLCH | oklch(0.695 0.160 122.9) |
Copy-ready code
/* CSS */
color: #8bac21;
background-color: #8bac21;
/* Tailwind (arbitrary) */
class="text-[#8bac21] bg-[#8bac21]"
/* SCSS */
$brand: #8bac21;
/* SwiftUI */
Color(red: 0.545, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#8bac21")Accessibility — WCAG contrast
Aa
#8bac21 on white: 2.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8bac21 on black: 8.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.5%
Green67.5%
Blue12.9%
CMYK percentages
Cyan19.2%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#8bac21 text on a black background
contrast 8.02:1
Card sample
#8bac21 text on a white background
contrast 2.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8bac21;
Background color
Panel with #8bac21 background
background-color: #8bac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8bac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(139, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8bac21; background: linear-gradient(135deg, #8bac21, #2EAC21);