#008f39
a dark, electric green · cool · closest name: forestgreen
RGB
0, 143, 57
HSL
144°, 100%, 28%
CMYK
100, 0, 60, 44
Luminance
0.1994
Every format
| HEX | #008f39 |
| RGB | rgb(0, 143, 57) |
| HSL | hsl(144, 100%, 28%) |
| CMYK | cmyk(100%, 0%, 60%, 44%) |
| LAB | lab(51.8 -51.7 36.1) |
| LCH | lch(51.8 63.1 145.1) |
| OKLCH | oklch(0.567 0.163 148.3) |
Copy-ready code
/* CSS */
color: #008f39;
background-color: #008f39;
/* Tailwind (arbitrary) */
class="text-[#008f39] bg-[#008f39]"
/* SCSS */
$brand: #008f39;
/* SwiftUI */
Color(red: 0.000, green: 0.561, blue: 0.224)
/* Android */
Color.parseColor("#008f39")Accessibility — WCAG contrast
Aa
#008f39 on white: 4.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#008f39 on black: 4.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green56.1%
Blue22.4%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow60.1%
Key (black)43.9%
Color previews
#008f39 text on a black background
contrast 4.99:1
Card sample
#008f39 text on a white background
contrast 4.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #008f39;
Background color
Panel with #008f39 background
background-color: #008f39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #008f39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 143, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 143, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008f39; background: linear-gradient(135deg, #008f39, #00868F);