#295f21
a dark, vivid green · cool · closest name: seagreen
RGB
41, 95, 33
HSL
112°, 48%, 25%
CMYK
57, 0, 65, 63
Luminance
0.0877
Every format
| HEX | #295f21 |
| RGB | rgb(41, 95, 33) |
| HSL | hsl(112, 48%, 25%) |
| CMYK | cmyk(57%, 0%, 65%, 63%) |
| LAB | lab(35.5 -31.3 29.4) |
| LCH | lch(35.5 43.0 136.8) |
| OKLCH | oklch(0.434 0.110 141.2) |
Copy-ready code
/* CSS */
color: #295f21;
background-color: #295f21;
/* Tailwind (arbitrary) */
class="text-[#295f21] bg-[#295f21]"
/* SCSS */
$brand: #295f21;
/* SwiftUI */
Color(red: 0.161, green: 0.373, blue: 0.129)
/* Android */
Color.parseColor("#295f21")Accessibility — WCAG contrast
Aa
#295f21 on white: 7.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#295f21 on black: 2.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green37.3%
Blue12.9%
CMYK percentages
Cyan56.8%
Magenta0.0%
Yellow65.3%
Key (black)62.7%
Color previews
#295f21 text on a black background
contrast 2.75:1
Card sample
#295f21 text on a white background
contrast 7.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #295f21;
Background color
Panel with #295f21 background
background-color: #295f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #295f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 95, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 95, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #295f21; background: linear-gradient(135deg, #295f21, #215F42);