#40cf85
a balanced, vivid green · cool · closest name: aquamarine
RGB
64, 207, 133
HSL
149°, 60%, 53%
CMYK
69, 0, 36, 19
Luminance
0.4741
Every format
| HEX | #40cf85 |
| RGB | rgb(64, 207, 133) |
| HSL | hsl(149, 60%, 53%) |
| CMYK | cmyk(69%, 0%, 36%, 19%) |
| LAB | lab(74.5 -54.6 26.1) |
| LCH | lch(74.5 60.5 154.5) |
| OKLCH | oklch(0.761 0.162 156.1) |
Copy-ready code
/* CSS */
color: #40cf85;
background-color: #40cf85;
/* Tailwind (arbitrary) */
class="text-[#40cf85] bg-[#40cf85]"
/* SCSS */
$brand: #40cf85;
/* SwiftUI */
Color(red: 0.251, green: 0.812, blue: 0.522)
/* Android */
Color.parseColor("#40cf85")Accessibility — WCAG contrast
Aa
#40cf85 on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40cf85 on black: 10.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green81.2%
Blue52.2%
CMYK percentages
Cyan69.1%
Magenta0.0%
Yellow35.7%
Key (black)18.8%
Color previews
#40cf85 text on a black background
contrast 10.48:1
Card sample
#40cf85 text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40cf85;
Background color
Panel with #40cf85 background
background-color: #40cf85;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40cf85;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 207, 133, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 207, 133, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cf85; background: linear-gradient(135deg, #40cf85, #40B9CF);