#295c1f
a deep, vivid green · cool · closest name: seagreen
RGB
41, 92, 31
HSL
110°, 50%, 24%
CMYK
55, 0, 66, 64
Luminance
0.0822
Every format
| HEX | #295c1f |
| RGB | rgb(41, 92, 31) |
| HSL | hsl(110, 50%, 24%) |
| CMYK | cmyk(55%, 0%, 66%, 64%) |
| LAB | lab(34.5 -30.2 29.2) |
| LCH | lch(34.5 42.0 136.0) |
| OKLCH | oklch(0.425 0.107 140.5) |
Copy-ready code
/* CSS */
color: #295c1f;
background-color: #295c1f;
/* Tailwind (arbitrary) */
class="text-[#295c1f] bg-[#295c1f]"
/* SCSS */
$brand: #295c1f;
/* SwiftUI */
Color(red: 0.161, green: 0.361, blue: 0.122)
/* Android */
Color.parseColor("#295c1f")Accessibility — WCAG contrast
Aa
#295c1f on white: 7.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#295c1f on black: 2.64:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green36.1%
Blue12.2%
CMYK percentages
Cyan55.4%
Magenta0.0%
Yellow66.3%
Key (black)63.9%
Color previews
#295c1f text on a black background
contrast 2.64:1
Card sample
#295c1f text on a white background
contrast 7.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #295c1f;
Background color
Panel with #295c1f background
background-color: #295c1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #295c1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 92, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 92, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #295c1f; background: linear-gradient(135deg, #295c1f, #1F5C3E);