#073b21
a deep, electric green · cool · closest name: darkslategray
RGB
7, 59, 33
HSL
150°, 79%, 13%
CMYK
88, 0, 44, 77
Luminance
0.0328
Every format
| HEX | #073b21 |
| RGB | rgb(7, 59, 33) |
| HSL | hsl(150, 79%, 13%) |
| CMYK | cmyk(88%, 0%, 44%, 77%) |
| LAB | lab(21.1 -23.8 11.5) |
| LCH | lch(21.1 26.4 154.1) |
| OKLCH | oklch(0.312 0.070 155.8) |
Copy-ready code
/* CSS */
color: #073b21;
background-color: #073b21;
/* Tailwind (arbitrary) */
class="text-[#073b21] bg-[#073b21]"
/* SCSS */
$brand: #073b21;
/* SwiftUI */
Color(red: 0.027, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#073b21")Accessibility — WCAG contrast
Aa
#073b21 on white: 12.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#073b21 on black: 1.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green23.1%
Blue12.9%
CMYK percentages
Cyan88.1%
Magenta0.0%
Yellow44.1%
Key (black)76.9%
Color previews
#073b21 text on a black background
contrast 1.66:1
Card sample
#073b21 text on a white background
contrast 12.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #073b21;
Background color
Panel with #073b21 background
background-color: #073b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #073b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #073b21; background: linear-gradient(135deg, #073b21, #07323B);