#9fab13
a dark, electric yellow · cool · closest name: olive
RGB
159, 171, 19
HSL
65°, 80%, 37%
CMYK
7, 0, 89, 33
Luminance
0.3654
Every format
| HEX | #9fab13 |
| RGB | rgb(159, 171, 19) |
| HSL | hsl(65, 80%, 37%) |
| CMYK | cmyk(7%, 0%, 89%, 33%) |
| LAB | lab(66.9 -20.9 66.3) |
| LCH | lch(66.9 69.5 107.5) |
| OKLCH | oklch(0.708 0.156 114.8) |
Copy-ready code
/* CSS */
color: #9fab13;
background-color: #9fab13;
/* Tailwind (arbitrary) */
class="text-[#9fab13] bg-[#9fab13]"
/* SCSS */
$brand: #9fab13;
/* SwiftUI */
Color(red: 0.624, green: 0.671, blue: 0.075)
/* Android */
Color.parseColor("#9fab13")Accessibility — WCAG contrast
Aa
#9fab13 on white: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9fab13 on black: 8.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green67.1%
Blue7.5%
CMYK percentages
Cyan7.0%
Magenta0.0%
Yellow88.9%
Key (black)32.9%
Color previews
#9fab13 text on a black background
contrast 8.31:1
Card sample
#9fab13 text on a white background
contrast 2.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9fab13;
Background color
Panel with #9fab13 background
background-color: #9fab13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9fab13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 171, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 171, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9fab13; background: linear-gradient(135deg, #9fab13, #3AAB13);