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