#1b2c21
a deep, soft green · cool · closest name: darkslategray
RGB
27, 44, 33
HSL
141°, 24%, 14%
CMYK
39, 0, 25, 83
Luminance
0.0214
Every format
| HEX | #1b2c21 |
| RGB | rgb(27, 44, 33) |
| HSL | hsl(141, 24%, 14%) |
| CMYK | cmyk(39%, 0%, 25%, 83%) |
| LAB | lab(16.2 -10.0 4.9) |
| LCH | lch(16.2 11.2 153.8) |
| OKLCH | oklch(0.274 0.030 155.5) |
Copy-ready code
/* CSS */
color: #1b2c21;
background-color: #1b2c21;
/* Tailwind (arbitrary) */
class="text-[#1b2c21] bg-[#1b2c21]"
/* SCSS */
$brand: #1b2c21;
/* SwiftUI */
Color(red: 0.106, green: 0.173, blue: 0.129)
/* Android */
Color.parseColor("#1b2c21")Accessibility — WCAG contrast
Aa
#1b2c21 on white: 14.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b2c21 on black: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green17.3%
Blue12.9%
CMYK percentages
Cyan38.6%
Magenta0.0%
Yellow25.0%
Key (black)82.7%
Color previews
#1b2c21 text on a black background
contrast 1.43:1
Card sample
#1b2c21 text on a white background
contrast 14.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b2c21;
Background color
Panel with #1b2c21 background
background-color: #1b2c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b2c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 44, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 44, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b2c21; background: linear-gradient(135deg, #1b2c21, #1B2C2C);