#0c360d
a deep, vivid green · cool · closest name: darkslategray
RGB
12, 54, 13
HSL
121°, 64%, 13%
CMYK
78, 0, 76, 79
Luminance
0.0275
Every format
| HEX | #0c360d |
| RGB | rgb(12, 54, 13) |
| HSL | hsl(121, 64%, 13%) |
| CMYK | cmyk(78%, 0%, 76%, 79%) |
| LAB | lab(19.0 -24.2 20.9) |
| LCH | lch(19.0 32.0 139.2) |
| OKLCH | oklch(0.294 0.082 143.5) |
Copy-ready code
/* CSS */
color: #0c360d;
background-color: #0c360d;
/* Tailwind (arbitrary) */
class="text-[#0c360d] bg-[#0c360d]"
/* SCSS */
$brand: #0c360d;
/* SwiftUI */
Color(red: 0.047, green: 0.212, blue: 0.051)
/* Android */
Color.parseColor("#0c360d")Accessibility — WCAG contrast
Aa
#0c360d on white: 13.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c360d on black: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green21.2%
Blue5.1%
CMYK percentages
Cyan77.8%
Magenta0.0%
Yellow75.9%
Key (black)78.8%
Color previews
#0c360d text on a black background
contrast 1.55:1
Card sample
#0c360d text on a white background
contrast 13.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c360d;
Background color
Panel with #0c360d background
background-color: #0c360d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c360d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 54, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 54, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c360d; background: linear-gradient(135deg, #0c360d, #0C3629);