#8ac821
a balanced, vivid green · cool · closest name: olivedrab
RGB
138, 200, 33
HSL
82°, 72%, 46%
CMYK
31, 0, 84, 22
Luminance
0.4682
Every format
| HEX | #8ac821 |
| RGB | rgb(138, 200, 33) |
| HSL | hsl(82, 72%, 46%) |
| CMYK | cmyk(31%, 0%, 84%, 22%) |
| LAB | lab(74.1 -42.6 68.8) |
| LCH | lch(74.1 80.9 121.8) |
| OKLCH | oklch(0.762 0.193 129.2) |
Copy-ready code
/* CSS */
color: #8ac821;
background-color: #8ac821;
/* Tailwind (arbitrary) */
class="text-[#8ac821] bg-[#8ac821]"
/* SCSS */
$brand: #8ac821;
/* SwiftUI */
Color(red: 0.541, green: 0.784, blue: 0.129)
/* Android */
Color.parseColor("#8ac821")Accessibility — WCAG contrast
Aa
#8ac821 on white: 2.03:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ac821 on black: 10.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green78.4%
Blue12.9%
CMYK percentages
Cyan31.0%
Magenta0.0%
Yellow83.5%
Key (black)21.6%
Color previews
#8ac821 text on a black background
contrast 10.36:1
Card sample
#8ac821 text on a white background
contrast 2.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ac821;
Background color
Panel with #8ac821 background
background-color: #8ac821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ac821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 200, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 200, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ac821; background: linear-gradient(135deg, #8ac821, #21C827);