#273021
a deep, soft green · cool · closest name: darkslategray
RGB
39, 48, 33
HSL
96°, 19%, 16%
CMYK
19, 0, 31, 81
Luminance
0.0266
Every format
| HEX | #273021 |
| RGB | rgb(39, 48, 33) |
| HSL | hsl(96, 19%, 16%) |
| CMYK | cmyk(19%, 0%, 31%, 81%) |
| LAB | lab(18.6 -7.4 8.4) |
| LCH | lch(18.6 11.2 131.3) |
| OKLCH | oklch(0.296 0.029 133.2) |
Copy-ready code
/* CSS */
color: #273021;
background-color: #273021;
/* Tailwind (arbitrary) */
class="text-[#273021] bg-[#273021]"
/* SCSS */
$brand: #273021;
/* SwiftUI */
Color(red: 0.153, green: 0.188, blue: 0.129)
/* Android */
Color.parseColor("#273021")Accessibility — WCAG contrast
Aa
#273021 on white: 13.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#273021 on black: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.3%
Green18.8%
Blue12.9%
CMYK percentages
Cyan18.7%
Magenta0.0%
Yellow31.3%
Key (black)81.2%
Color previews
#273021 text on a black background
contrast 1.53:1
Card sample
#273021 text on a white background
contrast 13.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #273021;
Background color
Panel with #273021 background
background-color: #273021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #273021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(39, 48, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 48, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #273021; background: linear-gradient(135deg, #273021, #213025);