#373b21
a deep, soft yellow · cool · closest name: darkslategray
RGB
55, 59, 33
HSL
69°, 28%, 18%
CMYK
7, 0, 44, 77
Luminance
0.0405
Every format
| HEX | #373b21 |
| RGB | rgb(55, 59, 33) |
| HSL | hsl(69, 28%, 18%) |
| CMYK | cmyk(7%, 0%, 44%, 77%) |
| LAB | lab(23.8 -6.7 15.6) |
| LCH | lch(23.8 16.9 113.4) |
| OKLCH | oklch(0.341 0.042 115.8) |
Copy-ready code
/* CSS */
color: #373b21;
background-color: #373b21;
/* Tailwind (arbitrary) */
class="text-[#373b21] bg-[#373b21]"
/* SCSS */
$brand: #373b21;
/* SwiftUI */
Color(red: 0.216, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#373b21")Accessibility — WCAG contrast
Aa
#373b21 on white: 11.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#373b21 on black: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.6%
Green23.1%
Blue12.9%
CMYK percentages
Cyan6.8%
Magenta0.0%
Yellow44.1%
Key (black)76.9%
Color previews
#373b21 text on a black background
contrast 1.81:1
Card sample
#373b21 text on a white background
contrast 11.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #373b21;
Background color
Panel with #373b21 background
background-color: #373b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #373b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(55, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(55, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #373b21; background: linear-gradient(135deg, #373b21, #263B21);