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