#baf28c
a light, electric green · cool · closest name: khaki
RGB
186, 242, 140
HSL
93°, 80%, 75%
CMYK
23, 0, 42, 5
Luminance
0.7584
Every format
| HEX | #baf28c |
| RGB | rgb(186, 242, 140) |
| HSL | hsl(93, 80%, 75%) |
| CMYK | cmyk(23%, 0%, 42%, 5%) |
| LAB | lab(89.8 -35.0 43.5) |
| LCH | lch(89.8 55.8 128.8) |
| OKLCH | oklch(0.900 0.143 132.2) |
Copy-ready code
/* CSS */
color: #baf28c;
background-color: #baf28c;
/* Tailwind (arbitrary) */
class="text-[#baf28c] bg-[#baf28c]"
/* SCSS */
$brand: #baf28c;
/* SwiftUI */
Color(red: 0.729, green: 0.949, blue: 0.549)
/* Android */
Color.parseColor("#baf28c")Accessibility — WCAG contrast
Aa
#baf28c on white: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf28c on black: 16.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.9%
Blue54.9%
CMYK percentages
Cyan23.1%
Magenta0.0%
Yellow42.1%
Key (black)5.1%
Color previews
#baf28c text on a black background
contrast 16.17:1
Card sample
#baf28c text on a white background
contrast 1.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf28c;
Background color
Panel with #baf28c background
background-color: #baf28c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf28c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 242, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 242, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf28c; background: linear-gradient(135deg, #baf28c, #8CF2A2);