#0c3521
a deep, vivid green · cool · closest name: darkslategray
RGB
12, 53, 33
HSL
151°, 63%, 13%
CMYK
77, 0, 38, 79
Luminance
0.0273
Every format
| HEX | #0c3521 |
| RGB | rgb(12, 53, 33) |
| HSL | hsl(151, 63%, 13%) |
| CMYK | cmyk(77%, 0%, 38%, 79%) |
| LAB | lab(18.9 -19.9 8.6) |
| LCH | lch(18.9 21.7 156.6) |
| OKLCH | oklch(0.294 0.058 158.1) |
Copy-ready code
/* CSS */
color: #0c3521;
background-color: #0c3521;
/* Tailwind (arbitrary) */
class="text-[#0c3521] bg-[#0c3521]"
/* SCSS */
$brand: #0c3521;
/* SwiftUI */
Color(red: 0.047, green: 0.208, blue: 0.129)
/* Android */
Color.parseColor("#0c3521")Accessibility — WCAG contrast
Aa
#0c3521 on white: 13.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c3521 on black: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green20.8%
Blue12.9%
CMYK percentages
Cyan77.4%
Magenta0.0%
Yellow37.7%
Key (black)79.2%
Color previews
#0c3521 text on a black background
contrast 1.55:1
Card sample
#0c3521 text on a white background
contrast 13.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c3521;
Background color
Panel with #0c3521 background
background-color: #0c3521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c3521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 53, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 53, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c3521; background: linear-gradient(135deg, #0c3521, #0C2E35);