#9bcb21
a balanced, vivid green · cool · closest name: olivedrab
RGB
155, 203, 33
HSL
77°, 72%, 46%
CMYK
24, 0, 84, 20
Luminance
0.4979
Every format
| HEX | #9bcb21 |
| RGB | rgb(155, 203, 33) |
| HSL | hsl(77, 72%, 46%) |
| CMYK | cmyk(24%, 0%, 84%, 20%) |
| LAB | lab(75.9 -37.4 70.8) |
| LCH | lch(75.9 80.0 117.9) |
| OKLCH | oklch(0.780 0.189 125.4) |
Copy-ready code
/* CSS */
color: #9bcb21;
background-color: #9bcb21;
/* Tailwind (arbitrary) */
class="text-[#9bcb21] bg-[#9bcb21]"
/* SCSS */
$brand: #9bcb21;
/* SwiftUI */
Color(red: 0.608, green: 0.796, blue: 0.129)
/* Android */
Color.parseColor("#9bcb21")Accessibility — WCAG contrast
Aa
#9bcb21 on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9bcb21 on black: 10.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green79.6%
Blue12.9%
CMYK percentages
Cyan23.6%
Magenta0.0%
Yellow83.7%
Key (black)20.4%
Color previews
#9bcb21 text on a black background
contrast 10.96:1
Card sample
#9bcb21 text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9bcb21;
Background color
Panel with #9bcb21 background
background-color: #9bcb21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9bcb21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 203, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 203, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9bcb21; background: linear-gradient(135deg, #9bcb21, #2ACB21);