#9ac40c
a dark, electric green · cool · closest name: olivedrab
RGB
154, 196, 12
HSL
74°, 89%, 41%
CMYK
21, 0, 94, 23
Luminance
0.4638
Every format
| HEX | #9ac40c |
| RGB | rgb(154, 196, 12) |
| HSL | hsl(74, 89%, 41%) |
| CMYK | cmyk(21%, 0%, 94%, 23%) |
| LAB | lab(73.8 -35.1 72.6) |
| LCH | lch(73.8 80.7 115.8) |
| OKLCH | oklch(0.762 0.187 123.8) |
Copy-ready code
/* CSS */
color: #9ac40c;
background-color: #9ac40c;
/* Tailwind (arbitrary) */
class="text-[#9ac40c] bg-[#9ac40c]"
/* SCSS */
$brand: #9ac40c;
/* SwiftUI */
Color(red: 0.604, green: 0.769, blue: 0.047)
/* Android */
Color.parseColor("#9ac40c")Accessibility — WCAG contrast
Aa
#9ac40c on white: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9ac40c on black: 10.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.4%
Green76.9%
Blue4.7%
CMYK percentages
Cyan21.4%
Magenta0.0%
Yellow93.9%
Key (black)23.1%
Color previews
#9ac40c text on a black background
contrast 10.28:1
Card sample
#9ac40c text on a white background
contrast 2.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9ac40c;
Background color
Panel with #9ac40c background
background-color: #9ac40c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9ac40c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(154, 196, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 196, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ac40c; background: linear-gradient(135deg, #9ac40c, #1FC40C);