#40c684
a balanced, vivid green · cool · closest name: seagreen
RGB
64, 198, 132
HSL
150°, 54%, 51%
CMYK
68, 0, 33, 22
Luminance
0.4314
Every format
| HEX | #40c684 |
| RGB | rgb(64, 198, 132) |
| HSL | hsl(150, 54%, 51%) |
| CMYK | cmyk(68%, 0%, 33%, 22%) |
| LAB | lab(71.7 -51.3 22.8) |
| LCH | lch(71.7 56.1 156.0) |
| OKLCH | oklch(0.738 0.151 157.5) |
Copy-ready code
/* CSS */
color: #40c684;
background-color: #40c684;
/* Tailwind (arbitrary) */
class="text-[#40c684] bg-[#40c684]"
/* SCSS */
$brand: #40c684;
/* SwiftUI */
Color(red: 0.251, green: 0.776, blue: 0.518)
/* Android */
Color.parseColor("#40c684")Accessibility — WCAG contrast
Aa
#40c684 on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#40c684 on black: 9.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green77.6%
Blue51.8%
CMYK percentages
Cyan67.7%
Magenta0.0%
Yellow33.3%
Key (black)22.4%
Color previews
#40c684 text on a black background
contrast 9.63:1
Card sample
#40c684 text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #40c684;
Background color
Panel with #40c684 background
background-color: #40c684;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #40c684;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 198, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 198, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c684; background: linear-gradient(135deg, #40c684, #40AFC6);