#488921
a dark, vivid green · cool · closest name: forestgreen
RGB
72, 137, 33
HSL
98°, 61%, 33%
CMYK
47, 0, 76, 46
Luminance
0.1938
Every format
| HEX | #488921 |
| RGB | rgb(72, 137, 33) |
| HSL | hsl(98, 61%, 33%) |
| CMYK | cmyk(47%, 0%, 76%, 46%) |
| LAB | lab(51.1 -39.3 46.3) |
| LCH | lch(51.1 60.7 130.3) |
| OKLCH | oklch(0.566 0.151 136.4) |
Copy-ready code
/* CSS */
color: #488921;
background-color: #488921;
/* Tailwind (arbitrary) */
class="text-[#488921] bg-[#488921]"
/* SCSS */
$brand: #488921;
/* SwiftUI */
Color(red: 0.282, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#488921")Accessibility — WCAG contrast
Aa
#488921 on white: 4.31:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#488921 on black: 4.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red28.2%
Green53.7%
Blue12.9%
CMYK percentages
Cyan47.4%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#488921 text on a black background
contrast 4.88:1
Card sample
#488921 text on a white background
contrast 4.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #488921;
Background color
Panel with #488921 background
background-color: #488921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #488921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(72, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #488921; background: linear-gradient(135deg, #488921, #21893F);