#40cd33
a balanced, vivid green · cool · closest name: forestgreen
RGB
64, 205, 51
HSL
115°, 61%, 50%
CMYK
69, 0, 75, 20
Luminance
0.4499
Every format
| HEX | #40cd33 |
| RGB | rgb(64, 205, 51) |
| HSL | hsl(115, 61%, 50%) |
| CMYK | cmyk(69%, 0%, 75%, 20%) |
| LAB | lab(72.9 -64.7 61.5) |
| LCH | lch(72.9 89.3 136.5) |
| OKLCH | oklch(0.745 0.224 141.9) |
Copy-ready code
/* CSS */
color: #40cd33;
background-color: #40cd33;
/* Tailwind (arbitrary) */
class="text-[#40cd33] bg-[#40cd33]"
/* SCSS */
$brand: #40cd33;
/* SwiftUI */
Color(red: 0.251, green: 0.804, blue: 0.200)
/* Android */
Color.parseColor("#40cd33")Accessibility — WCAG contrast
Aa
#40cd33 on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40cd33 on black: 10.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green80.4%
Blue20.0%
CMYK percentages
Cyan68.8%
Magenta0.0%
Yellow75.1%
Key (black)19.6%
Color previews
#40cd33 text on a black background
contrast 10.00:1
Card sample
#40cd33 text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40cd33;
Background color
Panel with #40cd33 background
background-color: #40cd33;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40cd33;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 205, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 205, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cd33; background: linear-gradient(135deg, #40cd33, #33CD8D);