#28cd49
a balanced, vivid green · cool · closest name: forestgreen
RGB
40, 205, 73
HSL
132°, 67%, 48%
CMYK
81, 0, 64, 20
Luminance
0.4459
Every format
| HEX | #28cd49 |
| RGB | rgb(40, 205, 73) |
| HSL | hsl(132, 67%, 48%) |
| CMYK | cmyk(81%, 0%, 64%, 20%) |
| LAB | lab(72.6 -66.4 52.7) |
| LCH | lch(72.6 84.8 141.5) |
| OKLCH | oklch(0.742 0.217 145.6) |
Copy-ready code
/* CSS */
color: #28cd49;
background-color: #28cd49;
/* Tailwind (arbitrary) */
class="text-[#28cd49] bg-[#28cd49]"
/* SCSS */
$brand: #28cd49;
/* SwiftUI */
Color(red: 0.157, green: 0.804, blue: 0.286)
/* Android */
Color.parseColor("#28cd49")Accessibility — WCAG contrast
Aa
#28cd49 on white: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#28cd49 on black: 9.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green80.4%
Blue28.6%
CMYK percentages
Cyan80.5%
Magenta0.0%
Yellow64.4%
Key (black)19.6%
Color previews
#28cd49 text on a black background
contrast 9.92:1
Card sample
#28cd49 text on a white background
contrast 2.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #28cd49;
Background color
Panel with #28cd49 background
background-color: #28cd49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #28cd49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 205, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 205, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28cd49; background: linear-gradient(135deg, #28cd49, #28CDB7);