#058921
a dark, electric green · cool · closest name: forestgreen
RGB
5, 137, 33
HSL
133°, 93%, 28%
CMYK
96, 0, 76, 46
Luminance
0.1803
Every format
| HEX | #058921 |
| RGB | rgb(5, 137, 33) |
| HSL | hsl(133, 93%, 28%) |
| CMYK | cmyk(96%, 0%, 76%, 46%) |
| LAB | lab(49.5 -52.2 44.2) |
| LCH | lch(49.5 68.4 139.8) |
| OKLCH | oklch(0.548 0.173 144.6) |
Copy-ready code
/* CSS */
color: #058921;
background-color: #058921;
/* Tailwind (arbitrary) */
class="text-[#058921] bg-[#058921]"
/* SCSS */
$brand: #058921;
/* SwiftUI */
Color(red: 0.020, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#058921")Accessibility — WCAG contrast
Aa
#058921 on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#058921 on black: 4.61:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.0%
Green53.7%
Blue12.9%
CMYK percentages
Cyan96.4%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#058921 text on a black background
contrast 4.61:1
Card sample
#058921 text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #058921;
Background color
Panel with #058921 background
background-color: #058921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #058921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(5, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #058921; background: linear-gradient(135deg, #058921, #058979);