#0f3921
a deep, vivid green · cool · closest name: darkslategray
RGB
15, 57, 33
HSL
146°, 58%, 14%
CMYK
74, 0, 42, 78
Luminance
0.0314
Every format
| HEX | #0f3921 |
| RGB | rgb(15, 57, 33) |
| HSL | hsl(146, 58%, 14%) |
| CMYK | cmyk(74%, 0%, 42%, 78%) |
| LAB | lab(20.6 -21.2 10.8) |
| LCH | lch(20.6 23.8 152.9) |
| OKLCH | oklch(0.308 0.064 154.7) |
Copy-ready code
/* CSS */
color: #0f3921;
background-color: #0f3921;
/* Tailwind (arbitrary) */
class="text-[#0f3921] bg-[#0f3921]"
/* SCSS */
$brand: #0f3921;
/* SwiftUI */
Color(red: 0.059, green: 0.224, blue: 0.129)
/* Android */
Color.parseColor("#0f3921")Accessibility — WCAG contrast
Aa
#0f3921 on white: 12.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f3921 on black: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green22.4%
Blue12.9%
CMYK percentages
Cyan73.7%
Magenta0.0%
Yellow42.1%
Key (black)77.6%
Color previews
#0f3921 text on a black background
contrast 1.63:1
Card sample
#0f3921 text on a white background
contrast 12.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f3921;
Background color
Panel with #0f3921 background
background-color: #0f3921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f3921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 57, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 57, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f3921; background: linear-gradient(135deg, #0f3921, #0F3539);