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