#0c3421
a deep, vivid green · cool · closest name: darkslategray
RGB
12, 52, 33
HSL
152°, 63%, 13%
CMYK
77, 0, 37, 80
Luminance
0.0264
Every format
| HEX | #0c3421 |
| RGB | rgb(12, 52, 33) |
| HSL | hsl(152, 63%, 13%) |
| CMYK | cmyk(77%, 0%, 37%, 80%) |
| LAB | lab(18.6 -19.4 8.1) |
| LCH | lch(18.6 21.0 157.4) |
| OKLCH | oklch(0.291 0.057 158.9) |
Copy-ready code
/* CSS */
color: #0c3421;
background-color: #0c3421;
/* Tailwind (arbitrary) */
class="text-[#0c3421] bg-[#0c3421]"
/* SCSS */
$brand: #0c3421;
/* SwiftUI */
Color(red: 0.047, green: 0.204, blue: 0.129)
/* Android */
Color.parseColor("#0c3421")Accessibility — WCAG contrast
Aa
#0c3421 on white: 13.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c3421 on black: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green20.4%
Blue12.9%
CMYK percentages
Cyan76.9%
Magenta0.0%
Yellow36.5%
Key (black)79.6%
Color previews
#0c3421 text on a black background
contrast 1.53:1
Card sample
#0c3421 text on a white background
contrast 13.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c3421;
Background color
Panel with #0c3421 background
background-color: #0c3421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c3421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 52, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 52, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c3421; background: linear-gradient(135deg, #0c3421, #0C2C34);