#050f0b
a deep, vivid green · cool · closest name: black
RGB
5, 15, 11
HSL
156°, 50%, 4%
CMYK
67, 0, 27, 94
Luminance
0.0040
Every format
| HEX | #050f0b |
| RGB | rgb(5, 15, 11) |
| HSL | hsl(156, 50%, 4%) |
| CMYK | cmyk(67%, 0%, 27%, 94%) |
| LAB | lab(3.6 -3.5 0.8) |
| LCH | lch(3.6 3.5 167.1) |
| OKLCH | oklch(0.156 0.018 168.6) |
Copy-ready code
/* CSS */
color: #050f0b;
background-color: #050f0b;
/* Tailwind (arbitrary) */
class="text-[#050f0b] bg-[#050f0b]"
/* SCSS */
$brand: #050f0b;
/* SwiftUI */
Color(red: 0.020, green: 0.059, blue: 0.043)
/* Android */
Color.parseColor("#050f0b")Accessibility — WCAG contrast
Aa
#050f0b on white: 19.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#050f0b on black: 1.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green5.9%
Blue4.3%
CMYK percentages
Cyan66.7%
Magenta0.0%
Yellow26.7%
Key (black)94.1%
Color previews
#050f0b text on a black background
contrast 1.08:1
Card sample
#050f0b text on a white background
contrast 19.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #050f0b;
Background color
Panel with #050f0b background
background-color: #050f0b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #050f0b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 15, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 15, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050f0b; background: linear-gradient(135deg, #050f0b, #050C0F);