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