#9fbc21
a dark, vivid green · cool · closest name: olivedrab
RGB
159, 188, 33
HSL
71°, 70%, 43%
CMYK
15, 0, 82, 26
Luminance
0.4345
Every format
| HEX | #9fbc21 |
| RGB | rgb(159, 188, 33) |
| HSL | hsl(71, 70%, 43%) |
| CMYK | cmyk(15%, 0%, 82%, 26%) |
| LAB | lab(71.9 -28.9 67.3) |
| LCH | lch(71.9 73.3 113.2) |
| OKLCH | oklch(0.748 0.170 120.5) |
Copy-ready code
/* CSS */
color: #9fbc21;
background-color: #9fbc21;
/* Tailwind (arbitrary) */
class="text-[#9fbc21] bg-[#9fbc21]"
/* SCSS */
$brand: #9fbc21;
/* SwiftUI */
Color(red: 0.624, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#9fbc21")Accessibility — WCAG contrast
Aa
#9fbc21 on white: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9fbc21 on black: 9.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green73.7%
Blue12.9%
CMYK percentages
Cyan15.4%
Magenta0.0%
Yellow82.4%
Key (black)26.3%
Color previews
#9fbc21 text on a black background
contrast 9.69:1
Card sample
#9fbc21 text on a white background
contrast 2.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9fbc21;
Background color
Panel with #9fbc21 background
background-color: #9fbc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9fbc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fbc21; background: linear-gradient(135deg, #9fbc21, #38BC21);