#162c01
a deep, electric green · cool · closest name: darkslategray
RGB
22, 44, 1
HSL
91°, 96%, 9%
CMYK
50, 0, 98, 83
Luminance
0.0197
Every format
| HEX | #162c01 |
| RGB | rgb(22, 44, 1) |
| HSL | hsl(91, 96%, 9%) |
| CMYK | cmyk(50%, 0%, 98%, 83%) |
| LAB | lab(15.3 -17.5 21.5) |
| LCH | lch(15.3 27.8 129.1) |
| OKLCH | oklch(0.264 0.073 132.9) |
Copy-ready code
/* CSS */
color: #162c01;
background-color: #162c01;
/* Tailwind (arbitrary) */
class="text-[#162c01] bg-[#162c01]"
/* SCSS */
$brand: #162c01;
/* SwiftUI */
Color(red: 0.086, green: 0.173, blue: 0.004)
/* Android */
Color.parseColor("#162c01")Accessibility — WCAG contrast
Aa
#162c01 on white: 15.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#162c01 on black: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green17.3%
Blue0.4%
CMYK percentages
Cyan50.0%
Magenta0.0%
Yellow97.7%
Key (black)82.7%
Color previews
#162c01 text on a black background
contrast 1.39:1
Card sample
#162c01 text on a white background
contrast 15.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #162c01;
Background color
Panel with #162c01 background
background-color: #162c01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #162c01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 44, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 44, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #162c01; background: linear-gradient(135deg, #162c01, #012C09);