#9ccf21
a balanced, vivid green · cool · closest name: olivedrab
RGB
156, 207, 33
HSL
78°, 73%, 47%
CMYK
25, 0, 84, 19
Luminance
0.5180
Every format
| HEX | #9ccf21 |
| RGB | rgb(156, 207, 33) |
| HSL | hsl(78, 73%, 47%) |
| CMYK | cmyk(25%, 0%, 84%, 19%) |
| LAB | lab(77.2 -38.8 71.8) |
| LCH | lch(77.2 81.7 118.4) |
| OKLCH | oklch(0.790 0.193 126.0) |
Copy-ready code
/* CSS */
color: #9ccf21;
background-color: #9ccf21;
/* Tailwind (arbitrary) */
class="text-[#9ccf21] bg-[#9ccf21]"
/* SCSS */
$brand: #9ccf21;
/* SwiftUI */
Color(red: 0.612, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#9ccf21")Accessibility — WCAG contrast
Aa
#9ccf21 on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9ccf21 on black: 11.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red61.2%
Green81.2%
Blue12.9%
CMYK percentages
Cyan24.6%
Magenta0.0%
Yellow84.1%
Key (black)18.8%
Color previews
#9ccf21 text on a black background
contrast 11.36:1
Card sample
#9ccf21 text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9ccf21;
Background color
Panel with #9ccf21 background
background-color: #9ccf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9ccf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(156, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ccf21; background: linear-gradient(135deg, #9ccf21, #28CF21);