#084020
a deep, electric green · cool · closest name: darkslategray
RGB
8, 64, 32
HSL
146°, 78%, 14%
CMYK
88, 0, 50, 75
Luminance
0.0382
Every format
| HEX | #084020 |
| RGB | rgb(8, 64, 32) |
| HSL | hsl(146, 78%, 14%) |
| CMYK | cmyk(88%, 0%, 50%, 75%) |
| LAB | lab(23.1 -26.1 14.7) |
| LCH | lch(23.1 29.9 150.6) |
| OKLCH | oklch(0.328 0.079 152.6) |
Copy-ready code
/* CSS */
color: #084020;
background-color: #084020;
/* Tailwind (arbitrary) */
class="text-[#084020] bg-[#084020]"
/* SCSS */
$brand: #084020;
/* SwiftUI */
Color(red: 0.031, green: 0.251, blue: 0.125)
/* Android */
Color.parseColor("#084020")Accessibility — WCAG contrast
Aa
#084020 on white: 11.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#084020 on black: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green25.1%
Blue12.5%
CMYK percentages
Cyan87.5%
Magenta0.0%
Yellow50.0%
Key (black)74.9%
Color previews
#084020 text on a black background
contrast 1.76:1
Card sample
#084020 text on a white background
contrast 11.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #084020;
Background color
Panel with #084020 background
background-color: #084020;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #084020;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 64, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 64, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #084020; background: linear-gradient(135deg, #084020, #083B40);