#008f2c
a dark, electric green · cool · closest name: forestgreen
RGB
0, 143, 44
HSL
139°, 100%, 28%
CMYK
100, 0, 69, 44
Luminance
0.1983
Every format
| HEX | #008f2c |
| RGB | rgb(0, 143, 44) |
| HSL | hsl(139, 100%, 28%) |
| CMYK | cmyk(100%, 0%, 69%, 44%) |
| LAB | lab(51.6 -53.4 41.9) |
| LCH | lch(51.6 67.9 141.8) |
| OKLCH | oklch(0.566 0.173 146.0) |
Copy-ready code
/* CSS */
color: #008f2c;
background-color: #008f2c;
/* Tailwind (arbitrary) */
class="text-[#008f2c] bg-[#008f2c]"
/* SCSS */
$brand: #008f2c;
/* SwiftUI */
Color(red: 0.000, green: 0.561, blue: 0.173)
/* Android */
Color.parseColor("#008f2c")Accessibility — WCAG contrast
Aa
#008f2c on white: 4.23:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#008f2c on black: 4.97:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green56.1%
Blue17.3%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow69.2%
Key (black)43.9%
Color previews
#008f2c text on a black background
contrast 4.97:1
Card sample
#008f2c text on a white background
contrast 4.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #008f2c;
Background color
Panel with #008f2c background
background-color: #008f2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #008f2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 143, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 143, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008f2c; background: linear-gradient(135deg, #008f2c, #008F8B);