#2c7b39
a dark, vivid green · cool · closest name: seagreen
RGB
44, 123, 57
HSL
130°, 47%, 33%
CMYK
64, 0, 54, 52
Luminance
0.1500
Every format
| HEX | #2c7b39 |
| RGB | rgb(44, 123, 57) |
| HSL | hsl(130, 47%, 33%) |
| CMYK | cmyk(64%, 0%, 54%, 52%) |
| LAB | lab(45.6 -38.9 28.9) |
| LCH | lch(45.6 48.5 143.4) |
| OKLCH | oklch(0.518 0.126 146.5) |
Copy-ready code
/* CSS */
color: #2c7b39;
background-color: #2c7b39;
/* Tailwind (arbitrary) */
class="text-[#2c7b39] bg-[#2c7b39]"
/* SCSS */
$brand: #2c7b39;
/* SwiftUI */
Color(red: 0.173, green: 0.482, blue: 0.224)
/* Android */
Color.parseColor("#2c7b39")Accessibility — WCAG contrast
Aa
#2c7b39 on white: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2c7b39 on black: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.3%
Green48.2%
Blue22.4%
CMYK percentages
Cyan64.2%
Magenta0.0%
Yellow53.7%
Key (black)51.8%
Color previews
#2c7b39 text on a black background
contrast 4.00:1
Card sample
#2c7b39 text on a white background
contrast 5.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2c7b39;
Background color
Panel with #2c7b39 background
background-color: #2c7b39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2c7b39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(44, 123, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 123, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c7b39; background: linear-gradient(135deg, #2c7b39, #2C7B6E);