#364721
a deep, soft green · cool · closest name: darkslategray
RGB
54, 71, 33
HSL
87°, 37%, 20%
CMYK
24, 0, 54, 72
Luminance
0.0540
Every format
| HEX | #364721 |
| RGB | rgb(54, 71, 33) |
| HSL | hsl(87, 37%, 20%) |
| CMYK | cmyk(24%, 0%, 54%, 72%) |
| LAB | lab(27.9 -14.4 20.6) |
| LCH | lch(27.9 25.1 124.9) |
| OKLCH | oklch(0.373 0.064 128.9) |
Copy-ready code
/* CSS */
color: #364721;
background-color: #364721;
/* Tailwind (arbitrary) */
class="text-[#364721] bg-[#364721]"
/* SCSS */
$brand: #364721;
/* SwiftUI */
Color(red: 0.212, green: 0.278, blue: 0.129)
/* Android */
Color.parseColor("#364721")Accessibility — WCAG contrast
Aa
#364721 on white: 10.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#364721 on black: 2.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green27.8%
Blue12.9%
CMYK percentages
Cyan23.9%
Magenta0.0%
Yellow53.5%
Key (black)72.2%
Color previews
#364721 text on a black background
contrast 2.08:1
Card sample
#364721 text on a white background
contrast 10.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #364721;
Background color
Panel with #364721 background
background-color: #364721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #364721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 71, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 71, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #364721; background: linear-gradient(135deg, #364721, #214725);