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