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