#1b261f
a deep, soft green · cool · closest name: black
RGB
27, 38, 31
HSL
142°, 17%, 13%
CMYK
29, 0, 18, 85
Luminance
0.0172
Every format
| HEX | #1b261f |
| RGB | rgb(27, 38, 31) |
| HSL | hsl(142, 17%, 13%) |
| CMYK | cmyk(29%, 0%, 18%, 85%) |
| LAB | lab(13.9 -6.7 3.1) |
| LCH | lch(13.9 7.4 155.2) |
| OKLCH | oklch(0.256 0.020 156.7) |
Copy-ready code
/* CSS */
color: #1b261f;
background-color: #1b261f;
/* Tailwind (arbitrary) */
class="text-[#1b261f] bg-[#1b261f]"
/* SCSS */
$brand: #1b261f;
/* SwiftUI */
Color(red: 0.106, green: 0.149, blue: 0.122)
/* Android */
Color.parseColor("#1b261f")Accessibility — WCAG contrast
Aa
#1b261f on white: 15.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b261f on black: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green14.9%
Blue12.2%
CMYK percentages
Cyan28.9%
Magenta0.0%
Yellow18.4%
Key (black)85.1%
Color previews
#1b261f text on a black background
contrast 1.34:1
Card sample
#1b261f text on a white background
contrast 15.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b261f;
Background color
Panel with #1b261f background
background-color: #1b261f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b261f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 38, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 38, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b261f; background: linear-gradient(135deg, #1b261f, #1B2626);