#2c7d39
a dark, vivid green · cool · closest name: seagreen
RGB
44, 125, 57
HSL
130°, 48%, 33%
CMYK
65, 0, 54, 51
Luminance
0.1550
Every format
| HEX | #2c7d39 |
| RGB | rgb(44, 125, 57) |
| HSL | hsl(130, 48%, 33%) |
| CMYK | cmyk(65%, 0%, 54%, 51%) |
| LAB | lab(46.3 -39.7 29.7) |
| LCH | lch(46.3 49.6 143.2) |
| OKLCH | oklch(0.524 0.129 146.3) |
Copy-ready code
/* CSS */
color: #2c7d39;
background-color: #2c7d39;
/* Tailwind (arbitrary) */
class="text-[#2c7d39] bg-[#2c7d39]"
/* SCSS */
$brand: #2c7d39;
/* SwiftUI */
Color(red: 0.173, green: 0.490, blue: 0.224)
/* Android */
Color.parseColor("#2c7d39")Accessibility — WCAG contrast
Aa
#2c7d39 on white: 5.12:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2c7d39 on black: 4.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green49.0%
Blue22.4%
CMYK percentages
Cyan64.8%
Magenta0.0%
Yellow54.4%
Key (black)51.0%
Color previews
#2c7d39 text on a black background
contrast 4.10:1
Card sample
#2c7d39 text on a white background
contrast 5.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2c7d39;
Background color
Panel with #2c7d39 background
background-color: #2c7d39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2c7d39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 125, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 125, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c7d39; background: linear-gradient(135deg, #2c7d39, #2C7D6F);