#baf079
a light, electric green · cool · closest name: khaki
RGB
186, 240, 121
HSL
87°, 80%, 71%
CMYK
23, 0, 50, 6
Luminance
0.7414
Every format
| HEX | #baf079 |
| RGB | rgb(186, 240, 121) |
| HSL | hsl(87, 80%, 71%) |
| CMYK | cmyk(23%, 0%, 50%, 6%) |
| LAB | lab(89.0 -36.2 51.6) |
| LCH | lch(89.0 63.0 125.1) |
| OKLCH | oklch(0.893 0.159 129.3) |
Copy-ready code
/* CSS */
color: #baf079;
background-color: #baf079;
/* Tailwind (arbitrary) */
class="text-[#baf079] bg-[#baf079]"
/* SCSS */
$brand: #baf079;
/* SwiftUI */
Color(red: 0.729, green: 0.941, blue: 0.475)
/* Android */
Color.parseColor("#baf079")Accessibility — WCAG contrast
Aa
#baf079 on white: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf079 on black: 15.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.1%
Blue47.5%
CMYK percentages
Cyan22.5%
Magenta0.0%
Yellow49.6%
Key (black)5.9%
Color previews
#baf079 text on a black background
contrast 15.83:1
Card sample
#baf079 text on a white background
contrast 1.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf079;
Background color
Panel with #baf079 background
background-color: #baf079;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf079;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 240, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf079; background: linear-gradient(135deg, #baf079, #79F087);