#008721
a dark, electric green · cool · closest name: forestgreen
RGB
0, 135, 33
HSL
135°, 100%, 27%
CMYK
100, 0, 76, 47
Luminance
0.1744
Every format
| HEX | #008721 |
| RGB | rgb(0, 135, 33) |
| HSL | hsl(135, 100%, 27%) |
| CMYK | cmyk(100%, 0%, 76%, 47%) |
| LAB | lab(48.8 -52.0 43.5) |
| LCH | lch(48.8 67.7 140.1) |
| OKLCH | oklch(0.542 0.171 144.8) |
Copy-ready code
/* CSS */
color: #008721;
background-color: #008721;
/* Tailwind (arbitrary) */
class="text-[#008721] bg-[#008721]"
/* SCSS */
$brand: #008721;
/* SwiftUI */
Color(red: 0.000, green: 0.529, blue: 0.129)
/* Android */
Color.parseColor("#008721")Accessibility — WCAG contrast
Aa
#008721 on white: 4.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#008721 on black: 4.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green52.9%
Blue12.9%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow75.6%
Key (black)47.1%
Color previews
#008721 text on a black background
contrast 4.49:1
Card sample
#008721 text on a white background
contrast 4.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #008721;
Background color
Panel with #008721 background
background-color: #008721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #008721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 135, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 135, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008721; background: linear-gradient(135deg, #008721, #00877B);