#1b4321
a deep, soft green · cool · closest name: darkslategray
RGB
27, 67, 33
HSL
129°, 43%, 18%
CMYK
60, 0, 51, 74
Luminance
0.0436
Every format
| HEX | #1b4321 |
| RGB | rgb(27, 67, 33) |
| HSL | hsl(129, 43%, 18%) |
| CMYK | cmyk(60%, 0%, 51%, 74%) |
| LAB | lab(24.8 -22.8 16.4) |
| LCH | lch(24.8 28.1 144.1) |
| OKLCH | oklch(0.344 0.074 146.9) |
Copy-ready code
/* CSS */
color: #1b4321;
background-color: #1b4321;
/* Tailwind (arbitrary) */
class="text-[#1b4321] bg-[#1b4321]"
/* SCSS */
$brand: #1b4321;
/* SwiftUI */
Color(red: 0.106, green: 0.263, blue: 0.129)
/* Android */
Color.parseColor("#1b4321")Accessibility — WCAG contrast
Aa
#1b4321 on white: 11.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b4321 on black: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green26.3%
Blue12.9%
CMYK percentages
Cyan59.7%
Magenta0.0%
Yellow50.7%
Key (black)73.7%
Color previews
#1b4321 text on a black background
contrast 1.87:1
Card sample
#1b4321 text on a white background
contrast 11.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b4321;
Background color
Panel with #1b4321 background
background-color: #1b4321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b4321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 67, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 67, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b4321; background: linear-gradient(135deg, #1b4321, #1B433C);