#8c9613
a dark, electric yellow · cool · closest name: olive
RGB
140, 150, 19
HSL
65°, 78%, 33%
CMYK
7, 0, 87, 41
Luminance
0.2744
Every format
| HEX | #8c9613 |
| RGB | rgb(140, 150, 19) |
| HSL | hsl(65, 78%, 33%) |
| CMYK | cmyk(7%, 0%, 87%, 41%) |
| LAB | lab(59.4 -18.6 59.5) |
| LCH | lch(59.4 62.4 107.4) |
| OKLCH | oklch(0.643 0.140 114.5) |
Copy-ready code
/* CSS */
color: #8c9613;
background-color: #8c9613;
/* Tailwind (arbitrary) */
class="text-[#8c9613] bg-[#8c9613]"
/* SCSS */
$brand: #8c9613;
/* SwiftUI */
Color(red: 0.549, green: 0.588, blue: 0.075)
/* Android */
Color.parseColor("#8c9613")Accessibility — WCAG contrast
Aa
#8c9613 on white: 3.24:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8c9613 on black: 6.49:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green58.8%
Blue7.5%
CMYK percentages
Cyan6.7%
Magenta0.0%
Yellow87.3%
Key (black)41.2%
Color previews
#8c9613 text on a black background
contrast 6.49:1
Card sample
#8c9613 text on a white background
contrast 3.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c9613;
Background color
Panel with #8c9613 background
background-color: #8c9613;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c9613;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 150, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 150, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c9613; background: linear-gradient(135deg, #8c9613, #359613);