#1e3b21
a deep, soft green · cool · closest name: darkslategray
RGB
30, 59, 33
HSL
126°, 33%, 18%
CMYK
49, 0, 44, 77
Luminance
0.0351
Every format
| HEX | #1e3b21 |
| RGB | rgb(30, 59, 33) |
| HSL | hsl(126, 33%, 18%) |
| CMYK | cmyk(49%, 0%, 44%, 77%) |
| LAB | lab(22.0 -17.6 12.8) |
| LCH | lch(22.0 21.8 144.0) |
| OKLCH | oklch(0.321 0.058 146.4) |
Copy-ready code
/* CSS */
color: #1e3b21;
background-color: #1e3b21;
/* Tailwind (arbitrary) */
class="text-[#1e3b21] bg-[#1e3b21]"
/* SCSS */
$brand: #1e3b21;
/* SwiftUI */
Color(red: 0.118, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#1e3b21")Accessibility — WCAG contrast
Aa
#1e3b21 on white: 12.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1e3b21 on black: 1.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.8%
Green23.1%
Blue12.9%
CMYK percentages
Cyan49.2%
Magenta0.0%
Yellow44.1%
Key (black)76.9%
Color previews
#1e3b21 text on a black background
contrast 1.70:1
Card sample
#1e3b21 text on a white background
contrast 12.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1e3b21;
Background color
Panel with #1e3b21 background
background-color: #1e3b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1e3b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(30, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(30, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1e3b21; background: linear-gradient(135deg, #1e3b21, #1E3B34);