#263a21
a deep, soft green · cool · closest name: darkslategray
RGB
38, 58, 33
HSL
108°, 28%, 18%
CMYK
35, 0, 43, 77
Luminance
0.0355
Every format
| HEX | #263a21 |
| RGB | rgb(38, 58, 33) |
| HSL | hsl(108, 28%, 18%) |
| CMYK | cmyk(35%, 0%, 43%, 77%) |
| LAB | lab(22.1 -13.9 13.1) |
| LCH | lch(22.1 19.1 136.8) |
| OKLCH | oklch(0.324 0.050 139.5) |
Copy-ready code
/* CSS */
color: #263a21;
background-color: #263a21;
/* Tailwind (arbitrary) */
class="text-[#263a21] bg-[#263a21]"
/* SCSS */
$brand: #263a21;
/* SwiftUI */
Color(red: 0.149, green: 0.227, blue: 0.129)
/* Android */
Color.parseColor("#263a21")Accessibility — WCAG contrast
Aa
#263a21 on white: 12.28:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#263a21 on black: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green22.7%
Blue12.9%
CMYK percentages
Cyan34.5%
Magenta0.0%
Yellow43.1%
Key (black)77.3%
Color previews
#263a21 text on a black background
contrast 1.71:1
Card sample
#263a21 text on a white background
contrast 12.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #263a21;
Background color
Panel with #263a21 background
background-color: #263a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #263a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 58, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 58, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263a21; background: linear-gradient(135deg, #263a21, #213A2D);