#0c4921
a deep, vivid green · cool · closest name: seagreen
RGB
12, 73, 33
HSL
141°, 72%, 17%
CMYK
84, 0, 55, 71
Luminance
0.0495
Every format
| HEX | #0c4921 |
| RGB | rgb(12, 73, 33) |
| HSL | hsl(141, 72%, 17%) |
| CMYK | cmyk(84%, 0%, 55%, 71%) |
| LAB | lab(26.6 -29.0 18.6) |
| LCH | lch(26.6 34.5 147.4) |
| OKLCH | oklch(0.357 0.090 149.9) |
Copy-ready code
/* CSS */
color: #0c4921;
background-color: #0c4921;
/* Tailwind (arbitrary) */
class="text-[#0c4921] bg-[#0c4921]"
/* SCSS */
$brand: #0c4921;
/* SwiftUI */
Color(red: 0.047, green: 0.286, blue: 0.129)
/* Android */
Color.parseColor("#0c4921")Accessibility — WCAG contrast
Aa
#0c4921 on white: 10.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c4921 on black: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green28.6%
Blue12.9%
CMYK percentages
Cyan83.6%
Magenta0.0%
Yellow54.8%
Key (black)71.4%
Color previews
#0c4921 text on a black background
contrast 1.99:1
Card sample
#0c4921 text on a white background
contrast 10.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c4921;
Background color
Panel with #0c4921 background
background-color: #0c4921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c4921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 73, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 73, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c4921; background: linear-gradient(135deg, #0c4921, #0C4849);