#003b21
a deep, electric green · cool · closest name: darkslategray
RGB
0, 59, 33
HSL
154°, 100%, 12%
CMYK
100, 0, 44, 77
Luminance
0.0324
Every format
| HEX | #003b21 |
| RGB | rgb(0, 59, 33) |
| HSL | hsl(154, 100%, 12%) |
| CMYK | cmyk(100%, 0%, 44%, 77%) |
| LAB | lab(21.0 -25.1 11.3) |
| LCH | lch(21.0 27.6 155.9) |
| OKLCH | oklch(0.310 0.073 157.4) |
Copy-ready code
/* CSS */
color: #003b21;
background-color: #003b21;
/* Tailwind (arbitrary) */
class="text-[#003b21] bg-[#003b21]"
/* SCSS */
$brand: #003b21;
/* SwiftUI */
Color(red: 0.000, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#003b21")Accessibility — WCAG contrast
Aa
#003b21 on white: 12.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#003b21 on black: 1.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green23.1%
Blue12.9%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow44.1%
Key (black)76.9%
Color previews
#003b21 text on a black background
contrast 1.65:1
Card sample
#003b21 text on a white background
contrast 12.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #003b21;
Background color
Panel with #003b21 background
background-color: #003b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #003b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003b21; background: linear-gradient(135deg, #003b21, #002E3B);