#8ab921
a dark, vivid green · cool · closest name: olivedrab
RGB
138, 185, 33
HSL
79°, 70%, 43%
CMYK
25, 0, 82, 28
Luminance
0.4021
Every format
| HEX | #8ab921 |
| RGB | rgb(138, 185, 33) |
| HSL | hsl(79, 70%, 43%) |
| CMYK | cmyk(25%, 0%, 82%, 28%) |
| LAB | lab(69.6 -35.9 64.8) |
| LCH | lch(69.6 74.1 119.0) |
| OKLCH | oklch(0.726 0.176 126.4) |
Copy-ready code
/* CSS */
color: #8ab921;
background-color: #8ab921;
/* Tailwind (arbitrary) */
class="text-[#8ab921] bg-[#8ab921]"
/* SCSS */
$brand: #8ab921;
/* SwiftUI */
Color(red: 0.541, green: 0.725, blue: 0.129)
/* Android */
Color.parseColor("#8ab921")Accessibility — WCAG contrast
Aa
#8ab921 on white: 2.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ab921 on black: 9.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green72.5%
Blue12.9%
CMYK percentages
Cyan25.4%
Magenta0.0%
Yellow82.2%
Key (black)27.5%
Color previews
#8ab921 text on a black background
contrast 9.04:1
Card sample
#8ab921 text on a white background
contrast 2.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ab921;
Background color
Panel with #8ab921 background
background-color: #8ab921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ab921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 185, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 185, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ab921; background: linear-gradient(135deg, #8ab921, #25B921);