#baf08c
a light, electric green · cool · closest name: khaki
RGB
186, 240, 140
HSL
92°, 77%, 75%
CMYK
23, 0, 42, 6
Luminance
0.7465
Every format
| HEX | #baf08c |
| RGB | rgb(186, 240, 140) |
| HSL | hsl(92, 77%, 75%) |
| CMYK | cmyk(23%, 0%, 42%, 6%) |
| LAB | lab(89.2 -34.0 42.8) |
| LCH | lch(89.2 54.7 128.5) |
| OKLCH | oklch(0.895 0.140 131.8) |
Copy-ready code
/* CSS */
color: #baf08c;
background-color: #baf08c;
/* Tailwind (arbitrary) */
class="text-[#baf08c] bg-[#baf08c]"
/* SCSS */
$brand: #baf08c;
/* SwiftUI */
Color(red: 0.729, green: 0.941, blue: 0.549)
/* Android */
Color.parseColor("#baf08c")Accessibility — WCAG contrast
Aa
#baf08c on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf08c on black: 15.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.1%
Blue54.9%
CMYK percentages
Cyan22.5%
Magenta0.0%
Yellow41.7%
Key (black)5.9%
Color previews
#baf08c text on a black background
contrast 15.93:1
Card sample
#baf08c text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf08c;
Background color
Panel with #baf08c background
background-color: #baf08c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf08c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 240, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf08c; background: linear-gradient(135deg, #baf08c, #8CF0A1);