#354b21
a deep, soft green · cool · closest name: darkslategray
RGB
53, 75, 33
HSL
91°, 39%, 21%
CMYK
29, 0, 56, 71
Luminance
0.0590
Every format
| HEX | #354b21 |
| RGB | rgb(53, 75, 33) |
| HSL | hsl(91, 39%, 21%) |
| CMYK | cmyk(29%, 0%, 56%, 71%) |
| LAB | lab(29.2 -17.1 22.1) |
| LCH | lch(29.2 27.9 127.6) |
| OKLCH | oklch(0.383 0.071 131.8) |
Copy-ready code
/* CSS */
color: #354b21;
background-color: #354b21;
/* Tailwind (arbitrary) */
class="text-[#354b21] bg-[#354b21]"
/* SCSS */
$brand: #354b21;
/* SwiftUI */
Color(red: 0.208, green: 0.294, blue: 0.129)
/* Android */
Color.parseColor("#354b21")Accessibility — WCAG contrast
Aa
#354b21 on white: 9.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#354b21 on black: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.8%
Green29.4%
Blue12.9%
CMYK percentages
Cyan29.3%
Magenta0.0%
Yellow56.0%
Key (black)70.6%
Color previews
#354b21 text on a black background
contrast 2.18:1
Card sample
#354b21 text on a white background
contrast 9.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #354b21;
Background color
Panel with #354b21 background
background-color: #354b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #354b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(53, 75, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(53, 75, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #354b21; background: linear-gradient(135deg, #354b21, #214B29);