#0f2811
a deep, vivid green · cool · closest name: darkslategray
RGB
15, 40, 17
HSL
125°, 46%, 11%
CMYK
63, 0, 58, 84
Luminance
0.0166
Every format
| HEX | #0f2811 |
| RGB | rgb(15, 40, 17) |
| HSL | hsl(125, 46%, 11%) |
| CMYK | cmyk(63%, 0%, 58%, 84%) |
| LAB | lab(13.6 -15.9 12.1) |
| LCH | lch(13.6 20.0 142.9) |
| OKLCH | oklch(0.250 0.053 145.4) |
Copy-ready code
/* CSS */
color: #0f2811;
background-color: #0f2811;
/* Tailwind (arbitrary) */
class="text-[#0f2811] bg-[#0f2811]"
/* SCSS */
$brand: #0f2811;
/* SwiftUI */
Color(red: 0.059, green: 0.157, blue: 0.067)
/* Android */
Color.parseColor("#0f2811")Accessibility — WCAG contrast
Aa
#0f2811 on white: 15.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f2811 on black: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green15.7%
Blue6.7%
CMYK percentages
Cyan62.5%
Magenta0.0%
Yellow57.5%
Key (black)84.3%
Color previews
#0f2811 text on a black background
contrast 1.33:1
Card sample
#0f2811 text on a white background
contrast 15.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f2811;
Background color
Panel with #0f2811 background
background-color: #0f2811;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f2811;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 40, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 40, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f2811; background: linear-gradient(135deg, #0f2811, #0F2822);