#9eb404
a dark, electric yellow · cool · closest name: olivedrab
RGB
158, 180, 4
HSL
68°, 96%, 36%
CMYK
12, 0, 98, 29
Luminance
0.3992
Every format
| HEX | #9eb404 |
| RGB | rgb(158, 180, 4) |
| HSL | hsl(68, 96%, 36%) |
| CMYK | cmyk(12%, 0%, 98%, 29%) |
| LAB | lab(69.4 -26.1 70.3) |
| LCH | lch(69.4 74.9 110.3) |
| OKLCH | oklch(0.728 0.169 118.2) |
Copy-ready code
/* CSS */
color: #9eb404;
background-color: #9eb404;
/* Tailwind (arbitrary) */
class="text-[#9eb404] bg-[#9eb404]"
/* SCSS */
$brand: #9eb404;
/* SwiftUI */
Color(red: 0.620, green: 0.706, blue: 0.016)
/* Android */
Color.parseColor("#9eb404")Accessibility — WCAG contrast
Aa
#9eb404 on white: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9eb404 on black: 8.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.0%
Green70.6%
Blue1.6%
CMYK percentages
Cyan12.2%
Magenta0.0%
Yellow97.8%
Key (black)29.4%
Color previews
#9eb404 text on a black background
contrast 8.98:1
Card sample
#9eb404 text on a white background
contrast 2.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9eb404;
Background color
Panel with #9eb404 background
background-color: #9eb404;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9eb404;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(158, 180, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(158, 180, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9eb404; background: linear-gradient(135deg, #9eb404, #29B404);