#2b7f39
a dark, vivid green · cool · closest name: seagreen
RGB
43, 127, 57
HSL
130°, 49%, 33%
CMYK
66, 0, 55, 50
Luminance
0.1599
Every format
| HEX | #2b7f39 |
| RGB | rgb(43, 127, 57) |
| HSL | hsl(130, 49%, 33%) |
| CMYK | cmyk(66%, 0%, 55%, 50%) |
| LAB | lab(47.0 -40.8 30.5) |
| LCH | lch(47.0 50.9 143.2) |
| OKLCH | oklch(0.529 0.132 146.4) |
Copy-ready code
/* CSS */
color: #2b7f39;
background-color: #2b7f39;
/* Tailwind (arbitrary) */
class="text-[#2b7f39] bg-[#2b7f39]"
/* SCSS */
$brand: #2b7f39;
/* SwiftUI */
Color(red: 0.169, green: 0.498, blue: 0.224)
/* Android */
Color.parseColor("#2b7f39")Accessibility — WCAG contrast
Aa
#2b7f39 on white: 5.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2b7f39 on black: 4.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.9%
Green49.8%
Blue22.4%
CMYK percentages
Cyan66.1%
Magenta0.0%
Yellow55.1%
Key (black)50.2%
Color previews
#2b7f39 text on a black background
contrast 4.20:1
Card sample
#2b7f39 text on a white background
contrast 5.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2b7f39;
Background color
Panel with #2b7f39 background
background-color: #2b7f39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2b7f39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(43, 127, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 127, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b7f39; background: linear-gradient(135deg, #2b7f39, #2B7F71);