#364921
a deep, soft green · cool · closest name: darkslategray
RGB
54, 73, 33
HSL
89°, 38%, 21%
CMYK
26, 0, 55, 71
Luminance
0.0566
Every format
| HEX | #364921 |
| RGB | rgb(54, 73, 33) |
| HSL | hsl(89, 38%, 21%) |
| CMYK | cmyk(26%, 0%, 55%, 71%) |
| LAB | lab(28.5 -15.5 21.4) |
| LCH | lch(28.5 26.4 125.9) |
| OKLCH | oklch(0.379 0.067 130.0) |
Copy-ready code
/* CSS */
color: #364921;
background-color: #364921;
/* Tailwind (arbitrary) */
class="text-[#364921] bg-[#364921]"
/* SCSS */
$brand: #364921;
/* SwiftUI */
Color(red: 0.212, green: 0.286, blue: 0.129)
/* Android */
Color.parseColor("#364921")Accessibility — WCAG contrast
Aa
#364921 on white: 9.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#364921 on black: 2.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green28.6%
Blue12.9%
CMYK percentages
Cyan26.0%
Magenta0.0%
Yellow54.8%
Key (black)71.4%
Color previews
#364921 text on a black background
contrast 2.13:1
Card sample
#364921 text on a white background
contrast 9.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #364921;
Background color
Panel with #364921 background
background-color: #364921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #364921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 73, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 73, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #364921; background: linear-gradient(135deg, #364921, #214927);