#baf261
a light, electric green · cool · closest name: khaki
RGB
186, 242, 97
HSL
83°, 85%, 67%
CMYK
23, 0, 60, 5
Luminance
0.7481
Every format
| HEX | #baf261 |
| RGB | rgb(186, 242, 97) |
| HSL | hsl(83, 85%, 67%) |
| CMYK | cmyk(23%, 0%, 60%, 5%) |
| LAB | lab(89.3 -39.4 62.6) |
| LCH | lch(89.3 74.0 122.1) |
| OKLCH | oklch(0.894 0.183 127.6) |
Copy-ready code
/* CSS */
color: #baf261;
background-color: #baf261;
/* Tailwind (arbitrary) */
class="text-[#baf261] bg-[#baf261]"
/* SCSS */
$brand: #baf261;
/* SwiftUI */
Color(red: 0.729, green: 0.949, blue: 0.380)
/* Android */
Color.parseColor("#baf261")Accessibility — WCAG contrast
Aa
#baf261 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf261 on black: 15.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.9%
Blue38.0%
CMYK percentages
Cyan23.1%
Magenta0.0%
Yellow59.9%
Key (black)5.1%
Color previews
#baf261 text on a black background
contrast 15.96:1
Card sample
#baf261 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf261;
Background color
Panel with #baf261 background
background-color: #baf261;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf261;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf261; background: linear-gradient(135deg, #baf261, #61F269);