#364021
a deep, soft green · cool · closest name: darkslategray
RGB
54, 64, 33
HSL
79°, 32%, 19%
CMYK
16, 0, 48, 75
Luminance
0.0456
Every format
| HEX | #364021 |
| RGB | rgb(54, 64, 33) |
| HSL | hsl(79, 32%, 19%) |
| CMYK | cmyk(16%, 0%, 48%, 75%) |
| LAB | lab(25.4 -10.3 17.6) |
| LCH | lch(25.4 20.4 120.3) |
| OKLCH | oklch(0.354 0.051 123.6) |
Copy-ready code
/* CSS */
color: #364021;
background-color: #364021;
/* Tailwind (arbitrary) */
class="text-[#364021] bg-[#364021]"
/* SCSS */
$brand: #364021;
/* SwiftUI */
Color(red: 0.212, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#364021")Accessibility — WCAG contrast
Aa
#364021 on white: 10.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#364021 on black: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green25.1%
Blue12.9%
CMYK percentages
Cyan15.6%
Magenta0.0%
Yellow48.4%
Key (black)74.9%
Color previews
#364021 text on a black background
contrast 1.91:1
Card sample
#364021 text on a white background
contrast 10.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #364021;
Background color
Panel with #364021 background
background-color: #364021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #364021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 64, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 64, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #364021; background: linear-gradient(135deg, #364021, #214021);