#264c3b
a deep, soft green · cool · closest name: darkslategray
RGB
38, 76, 59
HSL
153°, 33%, 22%
CMYK
50, 0, 22, 70
Luminance
0.0590
Every format
| HEX | #264c3b |
| RGB | rgb(38, 76, 59) |
| HSL | hsl(153, 33%, 22%) |
| CMYK | cmyk(50%, 0%, 22%, 70%) |
| LAB | lab(29.1 -18.2 6.0) |
| LCH | lch(29.1 19.2 161.9) |
| OKLCH | oklch(0.383 0.053 163.2) |
Copy-ready code
/* CSS */
color: #264c3b;
background-color: #264c3b;
/* Tailwind (arbitrary) */
class="text-[#264c3b] bg-[#264c3b]"
/* SCSS */
$brand: #264c3b;
/* SwiftUI */
Color(red: 0.149, green: 0.298, blue: 0.231)
/* Android */
Color.parseColor("#264c3b")Accessibility — WCAG contrast
Aa
#264c3b on white: 9.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#264c3b on black: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green29.8%
Blue23.1%
CMYK percentages
Cyan50.0%
Magenta0.0%
Yellow22.4%
Key (black)70.2%
Color previews
#264c3b text on a black background
contrast 2.18:1
Card sample
#264c3b text on a white background
contrast 9.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #264c3b;
Background color
Panel with #264c3b background
background-color: #264c3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #264c3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 76, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 76, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #264c3b; background: linear-gradient(135deg, #264c3b, #26444C);