#394c21
a deep, soft green · cool · closest name: darkslategray
RGB
57, 76, 33
HSL
87°, 39%, 21%
CMYK
25, 0, 57, 70
Luminance
0.0615
Every format
| HEX | #394c21 |
| RGB | rgb(57, 76, 33) |
| HSL | hsl(87, 39%, 21%) |
| CMYK | cmyk(25%, 0%, 57%, 70%) |
| LAB | lab(29.8 -15.8 23.0) |
| LCH | lch(29.8 27.9 124.6) |
| OKLCH | oklch(0.389 0.070 128.9) |
Copy-ready code
/* CSS */
color: #394c21;
background-color: #394c21;
/* Tailwind (arbitrary) */
class="text-[#394c21] bg-[#394c21]"
/* SCSS */
$brand: #394c21;
/* SwiftUI */
Color(red: 0.224, green: 0.298, blue: 0.129)
/* Android */
Color.parseColor("#394c21")Accessibility — WCAG contrast
Aa
#394c21 on white: 9.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#394c21 on black: 2.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.4%
Green29.8%
Blue12.9%
CMYK percentages
Cyan25.0%
Magenta0.0%
Yellow56.6%
Key (black)70.2%
Color previews
#394c21 text on a black background
contrast 2.23:1
Card sample
#394c21 text on a white background
contrast 9.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #394c21;
Background color
Panel with #394c21 background
background-color: #394c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #394c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(57, 76, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 76, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #394c21; background: linear-gradient(135deg, #394c21, #214C26);