#51ff87
a light, electric green · cool · closest name: aquamarine
RGB
81, 255, 135
HSL
139°, 100%, 66%
CMYK
68, 0, 47, 0
Luminance
0.7502
Every format
| HEX | #51ff87 |
| RGB | rgb(81, 255, 135) |
| HSL | hsl(139, 100%, 66%) |
| CMYK | cmyk(68%, 0%, 47%, 0%) |
| LAB | lab(89.4 -68.9 44.6) |
| LCH | lch(89.4 82.1 147.1) |
| OKLCH | oklch(0.885 0.215 149.6) |
Copy-ready code
/* CSS */
color: #51ff87;
background-color: #51ff87;
/* Tailwind (arbitrary) */
class="text-[#51ff87] bg-[#51ff87]"
/* SCSS */
$brand: #51ff87;
/* SwiftUI */
Color(red: 0.318, green: 1.000, blue: 0.529)
/* Android */
Color.parseColor("#51ff87")Accessibility — WCAG contrast
Aa
#51ff87 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#51ff87 on black: 16.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.8%
Green100.0%
Blue52.9%
CMYK percentages
Cyan68.2%
Magenta0.0%
Yellow47.1%
Key (black)0.0%
Color previews
#51ff87 text on a black background
contrast 16.00:1
Card sample
#51ff87 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #51ff87;
Background color
Panel with #51ff87 background
background-color: #51ff87;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #51ff87;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(81, 255, 135, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 255, 135, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51ff87; background: linear-gradient(135deg, #51ff87, #51FFFB);