#28cf49
a balanced, vivid green · cool · closest name: forestgreen
RGB
40, 207, 73
HSL
132°, 68%, 48%
CMYK
81, 0, 65, 19
Luminance
0.4556
Every format
| HEX | #28cf49 |
| RGB | rgb(40, 207, 73) |
| HSL | hsl(132, 68%, 48%) |
| CMYK | cmyk(81%, 0%, 65%, 19%) |
| LAB | lab(73.3 -67.0 53.4) |
| LCH | lch(73.3 85.7 141.4) |
| OKLCH | oklch(0.747 0.219 145.5) |
Copy-ready code
/* CSS */
color: #28cf49;
background-color: #28cf49;
/* Tailwind (arbitrary) */
class="text-[#28cf49] bg-[#28cf49]"
/* SCSS */
$brand: #28cf49;
/* SwiftUI */
Color(red: 0.157, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#28cf49")Accessibility — WCAG contrast
Aa
#28cf49 on white: 2.08:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#28cf49 on black: 10.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green81.2%
Blue28.6%
CMYK percentages
Cyan80.7%
Magenta0.0%
Yellow64.7%
Key (black)18.8%
Color previews
#28cf49 text on a black background
contrast 10.11:1
Card sample
#28cf49 text on a white background
contrast 2.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #28cf49;
Background color
Panel with #28cf49 background
background-color: #28cf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #28cf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #28cf49; background: linear-gradient(135deg, #28cf49, #28CFB8);