#0b321f
a deep, vivid green · cool · closest name: darkslategray
RGB
11, 50, 31
HSL
151°, 64%, 12%
CMYK
78, 0, 38, 80
Luminance
0.0245
Every format
| HEX | #0b321f |
| RGB | rgb(11, 50, 31) |
| HSL | hsl(151, 64%, 12%) |
| CMYK | cmyk(78%, 0%, 38%, 80%) |
| LAB | lab(17.7 -19.1 8.2) |
| LCH | lch(17.7 20.8 156.7) |
| OKLCH | oklch(0.284 0.056 158.2) |
Copy-ready code
/* CSS */
color: #0b321f;
background-color: #0b321f;
/* Tailwind (arbitrary) */
class="text-[#0b321f] bg-[#0b321f]"
/* SCSS */
$brand: #0b321f;
/* SwiftUI */
Color(red: 0.043, green: 0.196, blue: 0.122)
/* Android */
Color.parseColor("#0b321f")Accessibility — WCAG contrast
Aa
#0b321f on white: 14.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0b321f on black: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green19.6%
Blue12.2%
CMYK percentages
Cyan78.0%
Magenta0.0%
Yellow38.0%
Key (black)80.4%
Color previews
#0b321f text on a black background
contrast 1.49:1
Card sample
#0b321f text on a white background
contrast 14.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b321f;
Background color
Panel with #0b321f background
background-color: #0b321f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b321f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 50, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 50, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b321f; background: linear-gradient(135deg, #0b321f, #0B2B32);