#354f21
a deep, soft green · cool · closest name: darkslategray
RGB
53, 79, 33
HSL
94°, 41%, 22%
CMYK
33, 0, 58, 69
Luminance
0.0646
Every format
| HEX | #354f21 |
| RGB | rgb(53, 79, 33) |
| HSL | hsl(94, 41%, 22%) |
| CMYK | cmyk(33%, 0%, 58%, 69%) |
| LAB | lab(30.5 -19.2 23.8) |
| LCH | lch(30.5 30.6 128.9) |
| OKLCH | oklch(0.395 0.078 133.3) |
Copy-ready code
/* CSS */
color: #354f21;
background-color: #354f21;
/* Tailwind (arbitrary) */
class="text-[#354f21] bg-[#354f21]"
/* SCSS */
$brand: #354f21;
/* SwiftUI */
Color(red: 0.208, green: 0.310, blue: 0.129)
/* Android */
Color.parseColor("#354f21")Accessibility — WCAG contrast
Aa
#354f21 on white: 9.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#354f21 on black: 2.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.8%
Green31.0%
Blue12.9%
CMYK percentages
Cyan32.9%
Magenta0.0%
Yellow58.2%
Key (black)69.0%
Color previews
#354f21 text on a black background
contrast 2.29:1
Card sample
#354f21 text on a white background
contrast 9.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #354f21;
Background color
Panel with #354f21 background
background-color: #354f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #354f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(53, 79, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(53, 79, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #354f21; background: linear-gradient(135deg, #354f21, #214F2C);