#0b8317
a dark, electric green · cool · closest name: forestgreen
RGB
11, 131, 23
HSL
126°, 85%, 28%
CMYK
92, 0, 82, 49
Luminance
0.1637
Every format
| HEX | #0b8317 |
| RGB | rgb(11, 131, 23) |
| HSL | hsl(126, 85%, 28%) |
| CMYK | cmyk(92%, 0%, 82%, 49%) |
| LAB | lab(47.5 -50.7 45.6) |
| LCH | lch(47.5 68.2 138.0) |
| OKLCH | oklch(0.530 0.171 143.4) |
Copy-ready code
/* CSS */
color: #0b8317;
background-color: #0b8317;
/* Tailwind (arbitrary) */
class="text-[#0b8317] bg-[#0b8317]"
/* SCSS */
$brand: #0b8317;
/* SwiftUI */
Color(red: 0.043, green: 0.514, blue: 0.090)
/* Android */
Color.parseColor("#0b8317")Accessibility — WCAG contrast
Aa
#0b8317 on white: 4.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0b8317 on black: 4.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green51.4%
Blue9.0%
CMYK percentages
Cyan91.6%
Magenta0.0%
Yellow82.4%
Key (black)48.6%
Color previews
#0b8317 text on a black background
contrast 4.27:1
Card sample
#0b8317 text on a white background
contrast 4.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b8317;
Background color
Panel with #0b8317 background
background-color: #0b8317;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b8317;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 131, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 131, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b8317; background: linear-gradient(135deg, #0b8317, #0B8367);