#bafd7f
a light, electric green · cool · closest name: khaki
RGB
186, 253, 127
HSL
92°, 97%, 75%
CMYK
27, 0, 50, 1
Luminance
0.8222
Every format
| HEX | #bafd7f |
| RGB | rgb(186, 253, 127) |
| HSL | hsl(92, 97%, 75%) |
| CMYK | cmyk(27%, 0%, 50%, 1%) |
| LAB | lab(92.7 -41.4 53.3) |
| LCH | lch(92.7 67.5 127.9) |
| OKLCH | oklch(0.923 0.171 132.0) |
Copy-ready code
/* CSS */
color: #bafd7f;
background-color: #bafd7f;
/* Tailwind (arbitrary) */
class="text-[#bafd7f] bg-[#bafd7f]"
/* SCSS */
$brand: #bafd7f;
/* SwiftUI */
Color(red: 0.729, green: 0.992, blue: 0.498)
/* Android */
Color.parseColor("#bafd7f")Accessibility — WCAG contrast
Aa
#bafd7f on white: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bafd7f on black: 17.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green99.2%
Blue49.8%
CMYK percentages
Cyan26.5%
Magenta0.0%
Yellow49.8%
Key (black)0.8%
Color previews
#bafd7f text on a black background
contrast 17.44:1
Card sample
#bafd7f text on a white background
contrast 1.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bafd7f;
Background color
Panel with #bafd7f background
background-color: #bafd7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bafd7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 253, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 253, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bafd7f; background: linear-gradient(135deg, #bafd7f, #7FFD98);