#364e21
a deep, soft green · cool · closest name: darkslategray
RGB
54, 78, 33
HSL
92°, 41%, 22%
CMYK
31, 0, 58, 69
Luminance
0.0634
Every format
| HEX | #364e21 |
| RGB | rgb(54, 78, 33) |
| HSL | hsl(92, 41%, 22%) |
| CMYK | cmyk(31%, 0%, 58%, 69%) |
| LAB | lab(30.3 -18.3 23.5) |
| LCH | lch(30.3 29.8 127.8) |
| OKLCH | oklch(0.393 0.075 132.2) |
Copy-ready code
/* CSS */
color: #364e21;
background-color: #364e21;
/* Tailwind (arbitrary) */
class="text-[#364e21] bg-[#364e21]"
/* SCSS */
$brand: #364e21;
/* SwiftUI */
Color(red: 0.212, green: 0.306, blue: 0.129)
/* Android */
Color.parseColor("#364e21")Accessibility — WCAG contrast
Aa
#364e21 on white: 9.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#364e21 on black: 2.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green30.6%
Blue12.9%
CMYK percentages
Cyan30.8%
Magenta0.0%
Yellow57.7%
Key (black)69.4%
Color previews
#364e21 text on a black background
contrast 2.27:1
Card sample
#364e21 text on a white background
contrast 9.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #364e21;
Background color
Panel with #364e21 background
background-color: #364e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #364e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 78, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 78, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #364e21; background: linear-gradient(135deg, #364e21, #214E2A);