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