#0c2513
a deep, vivid green · cool · closest name: black
RGB
12, 37, 19
HSL
137°, 51%, 10%
CMYK
68, 0, 49, 86
Luminance
0.0145
Every format
| HEX | #0c2513 |
| RGB | rgb(12, 37, 19) |
| HSL | hsl(137, 51%, 10%) |
| CMYK | cmyk(68%, 0%, 49%, 86%) |
| LAB | lab(12.3 -14.9 9.1) |
| LCH | lch(12.3 17.4 148.7) |
| OKLCH | oklch(0.239 0.046 150.6) |
Copy-ready code
/* CSS */
color: #0c2513;
background-color: #0c2513;
/* Tailwind (arbitrary) */
class="text-[#0c2513] bg-[#0c2513]"
/* SCSS */
$brand: #0c2513;
/* SwiftUI */
Color(red: 0.047, green: 0.145, blue: 0.075)
/* Android */
Color.parseColor("#0c2513")Accessibility — WCAG contrast
Aa
#0c2513 on white: 16.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c2513 on black: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green14.5%
Blue7.5%
CMYK percentages
Cyan67.6%
Magenta0.0%
Yellow48.6%
Key (black)85.5%
Color previews
#0c2513 text on a black background
contrast 1.29:1
Card sample
#0c2513 text on a white background
contrast 16.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c2513;
Background color
Panel with #0c2513 background
background-color: #0c2513;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c2513;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 37, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 37, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c2513; background: linear-gradient(135deg, #0c2513, #0C2524);