#0f3821
a deep, vivid green · cool · closest name: darkslategray
RGB
15, 56, 33
HSL
146°, 58%, 14%
CMYK
73, 0, 41, 78
Luminance
0.0304
Every format
| HEX | #0f3821 |
| RGB | rgb(15, 56, 33) |
| HSL | hsl(146, 58%, 14%) |
| CMYK | cmyk(73%, 0%, 41%, 78%) |
| LAB | lab(20.2 -20.7 10.3) |
| LCH | lch(20.2 23.1 153.5) |
| OKLCH | oklch(0.305 0.062 155.2) |
Copy-ready code
/* CSS */
color: #0f3821;
background-color: #0f3821;
/* Tailwind (arbitrary) */
class="text-[#0f3821] bg-[#0f3821]"
/* SCSS */
$brand: #0f3821;
/* SwiftUI */
Color(red: 0.059, green: 0.220, blue: 0.129)
/* Android */
Color.parseColor("#0f3821")Accessibility — WCAG contrast
Aa
#0f3821 on white: 13.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f3821 on black: 1.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green22.0%
Blue12.9%
CMYK percentages
Cyan73.2%
Magenta0.0%
Yellow41.1%
Key (black)78.0%
Color previews
#0f3821 text on a black background
contrast 1.61:1
Card sample
#0f3821 text on a white background
contrast 13.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f3821;
Background color
Panel with #0f3821 background
background-color: #0f3821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f3821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 56, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 56, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f3821; background: linear-gradient(135deg, #0f3821, #0F3438);