#008621
a dark, electric green · cool · closest name: forestgreen
RGB
0, 134, 33
HSL
135°, 100%, 26%
CMYK
100, 0, 75, 48
Luminance
0.1716
Every format
| HEX | #008621 |
| RGB | rgb(0, 134, 33) |
| HSL | hsl(135, 100%, 26%) |
| CMYK | cmyk(100%, 0%, 75%, 48%) |
| LAB | lab(48.5 -51.7 43.1) |
| LCH | lch(48.5 67.3 140.2) |
| OKLCH | oklch(0.539 0.170 144.9) |
Copy-ready code
/* CSS */
color: #008621;
background-color: #008621;
/* Tailwind (arbitrary) */
class="text-[#008621] bg-[#008621]"
/* SCSS */
$brand: #008621;
/* SwiftUI */
Color(red: 0.000, green: 0.525, blue: 0.129)
/* Android */
Color.parseColor("#008621")Accessibility — WCAG contrast
Aa
#008621 on white: 4.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#008621 on black: 4.43:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green52.5%
Blue12.9%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow75.4%
Key (black)47.5%
Color previews
#008621 text on a black background
contrast 4.43:1
Card sample
#008621 text on a white background
contrast 4.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #008621;
Background color
Panel with #008621 background
background-color: #008621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #008621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 134, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 134, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008621; background: linear-gradient(135deg, #008621, #00867B);