#0c4621
a deep, vivid green · cool · closest name: darkslategray
RGB
12, 70, 33
HSL
142°, 71%, 16%
CMYK
83, 0, 53, 73
Luminance
0.0457
Every format
| HEX | #0c4621 |
| RGB | rgb(12, 70, 33) |
| HSL | hsl(142, 71%, 16%) |
| CMYK | cmyk(83%, 0%, 53%, 73%) |
| LAB | lab(25.5 -27.8 17.2) |
| LCH | lch(25.5 32.6 148.3) |
| OKLCH | oklch(0.348 0.086 150.7) |
Copy-ready code
/* CSS */
color: #0c4621;
background-color: #0c4621;
/* Tailwind (arbitrary) */
class="text-[#0c4621] bg-[#0c4621]"
/* SCSS */
$brand: #0c4621;
/* SwiftUI */
Color(red: 0.047, green: 0.275, blue: 0.129)
/* Android */
Color.parseColor("#0c4621")Accessibility — WCAG contrast
Aa
#0c4621 on white: 10.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c4621 on black: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green27.5%
Blue12.9%
CMYK percentages
Cyan82.9%
Magenta0.0%
Yellow52.9%
Key (black)72.5%
Color previews
#0c4621 text on a black background
contrast 1.91:1
Card sample
#0c4621 text on a white background
contrast 10.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c4621;
Background color
Panel with #0c4621 background
background-color: #0c4621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c4621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 70, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 70, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c4621; background: linear-gradient(135deg, #0c4621, #0C4446);