#baf982
a light, electric green · cool · closest name: khaki
RGB
186, 249, 130
HSL
92°, 91%, 74%
CMYK
25, 0, 48, 2
Luminance
0.7980
Every format
| HEX | #baf982 |
| RGB | rgb(186, 249, 130) |
| HSL | hsl(92, 91%, 74%) |
| CMYK | cmyk(25%, 0%, 48%, 2%) |
| LAB | lab(91.6 -39.3 50.5) |
| LCH | lch(91.6 64.0 127.9) |
| OKLCH | oklch(0.914 0.163 131.8) |
Copy-ready code
/* CSS */
color: #baf982;
background-color: #baf982;
/* Tailwind (arbitrary) */
class="text-[#baf982] bg-[#baf982]"
/* SCSS */
$brand: #baf982;
/* SwiftUI */
Color(red: 0.729, green: 0.976, blue: 0.510)
/* Android */
Color.parseColor("#baf982")Accessibility — WCAG contrast
Aa
#baf982 on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf982 on black: 16.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green97.6%
Blue51.0%
CMYK percentages
Cyan25.3%
Magenta0.0%
Yellow47.8%
Key (black)2.4%
Color previews
#baf982 text on a black background
contrast 16.96:1
Card sample
#baf982 text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf982;
Background color
Panel with #baf982 background
background-color: #baf982;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf982;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 249, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 249, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf982; background: linear-gradient(135deg, #baf982, #82F999);