#baf79c
a light, electric green · cool · closest name: khaki
RGB
186, 247, 156
HSL
100°, 85%, 79%
CMYK
25, 0, 37, 3
Luminance
0.7936
Every format
| HEX | #baf79c |
| RGB | rgb(186, 247, 156) |
| HSL | hsl(100, 85%, 79%) |
| CMYK | cmyk(25%, 0%, 37%, 3%) |
| LAB | lab(91.4 -35.2 37.7) |
| LCH | lch(91.4 51.6 133.0) |
| OKLCH | oklch(0.913 0.134 135.8) |
Copy-ready code
/* CSS */
color: #baf79c;
background-color: #baf79c;
/* Tailwind (arbitrary) */
class="text-[#baf79c] bg-[#baf79c]"
/* SCSS */
$brand: #baf79c;
/* SwiftUI */
Color(red: 0.729, green: 0.969, blue: 0.612)
/* Android */
Color.parseColor("#baf79c")Accessibility — WCAG contrast
Aa
#baf79c on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf79c on black: 16.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green96.9%
Blue61.2%
CMYK percentages
Cyan24.7%
Magenta0.0%
Yellow36.8%
Key (black)3.1%
Color previews
#baf79c text on a black background
contrast 16.87:1
Card sample
#baf79c text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf79c;
Background color
Panel with #baf79c background
background-color: #baf79c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf79c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 247, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 247, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf79c; background: linear-gradient(135deg, #baf79c, #9CF7BB);