#303921
a deep, soft green · cool · closest name: darkslategray
RGB
48, 57, 33
HSL
83°, 27%, 18%
CMYK
16, 0, 42, 78
Luminance
0.0366
Every format
| HEX | #303921 |
| RGB | rgb(48, 57, 33) |
| HSL | hsl(83, 27%, 18%) |
| CMYK | cmyk(16%, 0%, 42%, 78%) |
| LAB | lab(22.5 -8.8 13.8) |
| LCH | lch(22.5 16.3 122.7) |
| OKLCH | oklch(0.329 0.042 125.3) |
Copy-ready code
/* CSS */
color: #303921;
background-color: #303921;
/* Tailwind (arbitrary) */
class="text-[#303921] bg-[#303921]"
/* SCSS */
$brand: #303921;
/* SwiftUI */
Color(red: 0.188, green: 0.224, blue: 0.129)
/* Android */
Color.parseColor("#303921")Accessibility — WCAG contrast
Aa
#303921 on white: 12.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#303921 on black: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green22.4%
Blue12.9%
CMYK percentages
Cyan15.8%
Magenta0.0%
Yellow42.1%
Key (black)77.6%
Color previews
#303921 text on a black background
contrast 1.73:1
Card sample
#303921 text on a white background
contrast 12.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #303921;
Background color
Panel with #303921 background
background-color: #303921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #303921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 57, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 57, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #303921; background: linear-gradient(135deg, #303921, #213922);