#bafbab
a light, electric green · cool · closest name: aquamarine
RGB
186, 251, 171
HSL
109°, 91%, 83%
CMYK
26, 0, 32, 2
Luminance
0.8237
Every format
| HEX | #bafbab |
| RGB | rgb(186, 251, 171) |
| HSL | hsl(109, 91%, 83%) |
| CMYK | cmyk(26%, 0%, 32%, 2%) |
| LAB | lab(92.7 -34.9 32.0) |
| LCH | lch(92.7 47.3 137.4) |
| OKLCH | oklch(0.925 0.124 139.8) |
Copy-ready code
/* CSS */
color: #bafbab;
background-color: #bafbab;
/* Tailwind (arbitrary) */
class="text-[#bafbab] bg-[#bafbab]"
/* SCSS */
$brand: #bafbab;
/* SwiftUI */
Color(red: 0.729, green: 0.984, blue: 0.671)
/* Android */
Color.parseColor("#bafbab")Accessibility — WCAG contrast
Aa
#bafbab on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bafbab on black: 17.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green98.4%
Blue67.1%
CMYK percentages
Cyan25.9%
Magenta0.0%
Yellow31.9%
Key (black)1.6%
Color previews
#bafbab text on a black background
contrast 17.47:1
Card sample
#bafbab text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bafbab;
Background color
Panel with #bafbab background
background-color: #bafbab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bafbab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 251, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 251, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafbab; background: linear-gradient(135deg, #bafbab, #ABFBD1);