#2afab4
a balanced, electric green · cool · closest name: aquamarine
RGB
42, 250, 180
HSL
160°, 95%, 57%
CMYK
83, 0, 28, 2
Luminance
0.7216
Every format
| HEX | #2afab4 |
| RGB | rgb(42, 250, 180) |
| HSL | hsl(160, 95%, 57%) |
| CMYK | cmyk(83%, 0%, 28%, 2%) |
| LAB | lab(88.0 -63.5 20.3) |
| LCH | lch(88.0 66.7 162.3) |
| OKLCH | oklch(0.875 0.181 163.4) |
Copy-ready code
/* CSS */
color: #2afab4;
background-color: #2afab4;
/* Tailwind (arbitrary) */
class="text-[#2afab4] bg-[#2afab4]"
/* SCSS */
$brand: #2afab4;
/* SwiftUI */
Color(red: 0.165, green: 0.980, blue: 0.706)
/* Android */
Color.parseColor("#2afab4")Accessibility — WCAG contrast
Aa
#2afab4 on white: 1.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2afab4 on black: 15.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.5%
Green98.0%
Blue70.6%
CMYK percentages
Cyan83.2%
Magenta0.0%
Yellow28.0%
Key (black)2.0%
Color previews
#2afab4 text on a black background
contrast 15.43:1
Card sample
#2afab4 text on a white background
contrast 1.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2afab4;
Background color
Panel with #2afab4 background
background-color: #2afab4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2afab4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(42, 250, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 250, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2afab4; background: linear-gradient(135deg, #2afab4, #2AB5FA);