#8ac921
a balanced, vivid green · cool · closest name: olivedrab
RGB
138, 201, 33
HSL
83°, 72%, 46%
CMYK
31, 0, 84, 21
Luminance
0.4729
Every format
| HEX | #8ac921 |
| RGB | rgb(138, 201, 33) |
| HSL | hsl(83, 72%, 46%) |
| CMYK | cmyk(31%, 0%, 84%, 21%) |
| LAB | lab(74.4 -43.0 69.0) |
| LCH | lch(74.4 81.3 121.9) |
| OKLCH | oklch(0.765 0.195 129.4) |
Copy-ready code
/* CSS */
color: #8ac921;
background-color: #8ac921;
/* Tailwind (arbitrary) */
class="text-[#8ac921] bg-[#8ac921]"
/* SCSS */
$brand: #8ac921;
/* SwiftUI */
Color(red: 0.541, green: 0.788, blue: 0.129)
/* Android */
Color.parseColor("#8ac921")Accessibility — WCAG contrast
Aa
#8ac921 on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ac921 on black: 10.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green78.8%
Blue12.9%
CMYK percentages
Cyan31.3%
Magenta0.0%
Yellow83.6%
Key (black)21.2%
Color previews
#8ac921 text on a black background
contrast 10.46:1
Card sample
#8ac921 text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ac921;
Background color
Panel with #8ac921 background
background-color: #8ac921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ac921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 201, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 201, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ac921; background: linear-gradient(135deg, #8ac921, #21C928);