#0c3c01
a deep, electric green · cool · closest name: seagreen
RGB
12, 60, 1
HSL
109°, 97%, 12%
CMYK
80, 0, 98, 77
Luminance
0.0331
Every format
| HEX | #0c3c01 |
| RGB | rgb(12, 60, 1) |
| HSL | hsl(109, 97%, 12%) |
| CMYK | cmyk(80%, 0%, 98%, 77%) |
| LAB | lab(21.3 -28.0 28.4) |
| LCH | lch(21.3 39.9 134.5) |
| OKLCH | oklch(0.312 0.100 140.3) |
Copy-ready code
/* CSS */
color: #0c3c01;
background-color: #0c3c01;
/* Tailwind (arbitrary) */
class="text-[#0c3c01] bg-[#0c3c01]"
/* SCSS */
$brand: #0c3c01;
/* SwiftUI */
Color(red: 0.047, green: 0.235, blue: 0.004)
/* Android */
Color.parseColor("#0c3c01")Accessibility — WCAG contrast
Aa
#0c3c01 on white: 12.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c3c01 on black: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green23.5%
Blue0.4%
CMYK percentages
Cyan80.0%
Magenta0.0%
Yellow98.3%
Key (black)76.5%
Color previews
#0c3c01 text on a black background
contrast 1.66:1
Card sample
#0c3c01 text on a white background
contrast 12.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c3c01;
Background color
Panel with #0c3c01 background
background-color: #0c3c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c3c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 60, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 60, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c3c01; background: linear-gradient(135deg, #0c3c01, #013C1D);