#354c21
a deep, soft green · cool · closest name: darkslategray
RGB
53, 76, 33
HSL
92°, 39%, 21%
CMYK
30, 0, 57, 70
Luminance
0.0604
Every format
| HEX | #354c21 |
| RGB | rgb(53, 76, 33) |
| HSL | hsl(92, 39%, 21%) |
| CMYK | cmyk(30%, 0%, 57%, 70%) |
| LAB | lab(29.5 -17.6 22.6) |
| LCH | lch(29.5 28.6 127.9) |
| OKLCH | oklch(0.386 0.073 132.2) |
Copy-ready code
/* CSS */
color: #354c21;
background-color: #354c21;
/* Tailwind (arbitrary) */
class="text-[#354c21] bg-[#354c21]"
/* SCSS */
$brand: #354c21;
/* SwiftUI */
Color(red: 0.208, green: 0.298, blue: 0.129)
/* Android */
Color.parseColor("#354c21")Accessibility — WCAG contrast
Aa
#354c21 on white: 9.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#354c21 on black: 2.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.8%
Green29.8%
Blue12.9%
CMYK percentages
Cyan30.3%
Magenta0.0%
Yellow56.6%
Key (black)70.2%
Color previews
#354c21 text on a black background
contrast 2.21:1
Card sample
#354c21 text on a white background
contrast 9.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #354c21;
Background color
Panel with #354c21 background
background-color: #354c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #354c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(53, 76, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(53, 76, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #354c21; background: linear-gradient(135deg, #354c21, #214C2A);