#0c2921
a deep, vivid cyan · cool · closest name: darkslategray
RGB
12, 41, 33
HSL
163°, 55%, 10%
CMYK
71, 0, 20, 84
Luminance
0.0177
Every format
| HEX | #0c2921 |
| RGB | rgb(12, 41, 33) |
| HSL | hsl(163, 55%, 10%) |
| CMYK | cmyk(71%, 0%, 20%, 84%) |
| LAB | lab(14.3 -13.4 2.0) |
| LCH | lch(14.3 13.5 171.4) |
| OKLCH | oklch(0.256 0.038 172.3) |
Copy-ready code
/* CSS */
color: #0c2921;
background-color: #0c2921;
/* Tailwind (arbitrary) */
class="text-[#0c2921] bg-[#0c2921]"
/* SCSS */
$brand: #0c2921;
/* SwiftUI */
Color(red: 0.047, green: 0.161, blue: 0.129)
/* Android */
Color.parseColor("#0c2921")Accessibility — WCAG contrast
Aa
#0c2921 on white: 15.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c2921 on black: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green16.1%
Blue12.9%
CMYK percentages
Cyan70.7%
Magenta0.0%
Yellow19.5%
Key (black)83.9%
Color previews
#0c2921 text on a black background
contrast 1.35:1
Card sample
#0c2921 text on a white background
contrast 15.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c2921;
Background color
Panel with #0c2921 background
background-color: #0c2921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c2921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 41, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 41, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c2921; background: linear-gradient(135deg, #0c2921, #0C1E29);