#baf158
a balanced, electric green · cool · closest name: yellow
RGB
186, 241, 88
HSL
82°, 85%, 65%
CMYK
23, 0, 64, 6
Luminance
0.7405
Every format
| HEX | #baf158 |
| RGB | rgb(186, 241, 88) |
| HSL | hsl(82, 85%, 65%) |
| CMYK | cmyk(23%, 0%, 64%, 6%) |
| LAB | lab(89.0 -39.6 65.9) |
| LCH | lch(89.0 76.9 121.0) |
| OKLCH | oklch(0.891 0.188 126.8) |
Copy-ready code
/* CSS */
color: #baf158;
background-color: #baf158;
/* Tailwind (arbitrary) */
class="text-[#baf158] bg-[#baf158]"
/* SCSS */
$brand: #baf158;
/* SwiftUI */
Color(red: 0.729, green: 0.945, blue: 0.345)
/* Android */
Color.parseColor("#baf158")Accessibility — WCAG contrast
Aa
#baf158 on white: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf158 on black: 15.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.5%
Blue34.5%
CMYK percentages
Cyan22.8%
Magenta0.0%
Yellow63.5%
Key (black)5.5%
Color previews
#baf158 text on a black background
contrast 15.81:1
Card sample
#baf158 text on a white background
contrast 1.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf158;
Background color
Panel with #baf158 background
background-color: #baf158;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf158;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 241, 88, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 241, 88, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf158; background: linear-gradient(135deg, #baf158, #58F15C);