#0b3321
a deep, vivid green · cool · closest name: darkslategray
RGB
11, 51, 33
HSL
153°, 65%, 12%
CMYK
78, 0, 35, 80
Luminance
0.0255
Every format
| HEX | #0b3321 |
| RGB | rgb(11, 51, 33) |
| HSL | hsl(153, 65%, 12%) |
| CMYK | cmyk(78%, 0%, 35%, 80%) |
| LAB | lab(18.1 -19.1 7.5) |
| LCH | lch(18.1 20.5 158.6) |
| OKLCH | oklch(0.288 0.056 160.0) |
Copy-ready code
/* CSS */
color: #0b3321;
background-color: #0b3321;
/* Tailwind (arbitrary) */
class="text-[#0b3321] bg-[#0b3321]"
/* SCSS */
$brand: #0b3321;
/* SwiftUI */
Color(red: 0.043, green: 0.200, blue: 0.129)
/* Android */
Color.parseColor("#0b3321")Accessibility — WCAG contrast
Aa
#0b3321 on white: 13.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0b3321 on black: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green20.0%
Blue12.9%
CMYK percentages
Cyan78.4%
Magenta0.0%
Yellow35.3%
Key (black)80.0%
Color previews
#0b3321 text on a black background
contrast 1.51:1
Card sample
#0b3321 text on a white background
contrast 13.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b3321;
Background color
Panel with #0b3321 background
background-color: #0b3321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b3321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 51, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 51, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b3321; background: linear-gradient(135deg, #0b3321, #0B2A33);