#0e4021
a deep, vivid green · cool · closest name: darkslategray
RGB
14, 64, 33
HSL
143°, 64%, 15%
CMYK
78, 0, 48, 75
Luminance
0.0387
Every format
| HEX | #0e4021 |
| RGB | rgb(14, 64, 33) |
| HSL | hsl(143, 64%, 15%) |
| CMYK | cmyk(78%, 0%, 48%, 75%) |
| LAB | lab(23.2 -24.7 14.3) |
| LCH | lch(23.2 28.6 149.9) |
| OKLCH | oklch(0.330 0.075 152.0) |
Copy-ready code
/* CSS */
color: #0e4021;
background-color: #0e4021;
/* Tailwind (arbitrary) */
class="text-[#0e4021] bg-[#0e4021]"
/* SCSS */
$brand: #0e4021;
/* SwiftUI */
Color(red: 0.055, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#0e4021")Accessibility — WCAG contrast
Aa
#0e4021 on white: 11.84:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0e4021 on black: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.5%
Green25.1%
Blue12.9%
CMYK percentages
Cyan78.1%
Magenta0.0%
Yellow48.4%
Key (black)74.9%
Color previews
#0e4021 text on a black background
contrast 1.77:1
Card sample
#0e4021 text on a white background
contrast 11.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0e4021;
Background color
Panel with #0e4021 background
background-color: #0e4021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0e4021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(14, 64, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(14, 64, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0e4021; background: linear-gradient(135deg, #0e4021, #0E3E40);