#2e7f13
a dark, vivid green · cool · closest name: forestgreen
RGB
46, 127, 19
HSL
105°, 74%, 29%
CMYK
64, 0, 85, 50
Luminance
0.1581
Every format
| HEX | #2e7f13 |
| RGB | rgb(46, 127, 19) |
| HSL | hsl(105, 74%, 29%) |
| CMYK | cmyk(64%, 0%, 85%, 50%) |
| LAB | lab(46.7 -43.9 46.4) |
| LCH | lch(46.7 63.9 133.4) |
| OKLCH | oklch(0.526 0.158 139.7) |
Copy-ready code
/* CSS */
color: #2e7f13;
background-color: #2e7f13;
/* Tailwind (arbitrary) */
class="text-[#2e7f13] bg-[#2e7f13]"
/* SCSS */
$brand: #2e7f13;
/* SwiftUI */
Color(red: 0.180, green: 0.498, blue: 0.075)
/* Android */
Color.parseColor("#2e7f13")Accessibility — WCAG contrast
Aa
#2e7f13 on white: 5.05:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2e7f13 on black: 4.16:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.0%
Green49.8%
Blue7.5%
CMYK percentages
Cyan63.8%
Magenta0.0%
Yellow85.0%
Key (black)50.2%
Color previews
#2e7f13 text on a black background
contrast 4.16:1
Card sample
#2e7f13 text on a white background
contrast 5.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2e7f13;
Background color
Panel with #2e7f13 background
background-color: #2e7f13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2e7f13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(46, 127, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 127, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e7f13; background: linear-gradient(135deg, #2e7f13, #137F40);