#073021
a deep, vivid green · cool · closest name: darkslategray
RGB
7, 48, 33
HSL
158°, 75%, 11%
CMYK
85, 0, 31, 81
Luminance
0.0227
Every format
| HEX | #073021 |
| RGB | rgb(7, 48, 33) |
| HSL | hsl(158, 75%, 11%) |
| CMYK | cmyk(85%, 0%, 31%, 81%) |
| LAB | lab(16.8 -18.4 5.7) |
| LCH | lch(16.8 19.3 163.0) |
| OKLCH | oklch(0.277 0.053 164.1) |
Copy-ready code
/* CSS */
color: #073021;
background-color: #073021;
/* Tailwind (arbitrary) */
class="text-[#073021] bg-[#073021]"
/* SCSS */
$brand: #073021;
/* SwiftUI */
Color(red: 0.027, green: 0.188, blue: 0.129)
/* Android */
Color.parseColor("#073021")Accessibility — WCAG contrast
Aa
#073021 on white: 14.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#073021 on black: 1.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green18.8%
Blue12.9%
CMYK percentages
Cyan85.4%
Magenta0.0%
Yellow31.3%
Key (black)81.2%
Color previews
#073021 text on a black background
contrast 1.45:1
Card sample
#073021 text on a white background
contrast 14.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #073021;
Background color
Panel with #073021 background
background-color: #073021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #073021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 48, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 48, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #073021; background: linear-gradient(135deg, #073021, #072430);