#bdf981
a light, electric green · cool · closest name: khaki
RGB
189, 249, 129
HSL
90°, 91%, 74%
CMYK
24, 0, 48, 2
Luminance
0.8016
Every format
| HEX | #bdf981 |
| RGB | rgb(189, 249, 129) |
| HSL | hsl(90, 91%, 74%) |
| CMYK | cmyk(24%, 0%, 48%, 2%) |
| LAB | lab(91.8 -38.4 51.3) |
| LCH | lch(91.8 64.0 126.8) |
| OKLCH | oklch(0.916 0.163 130.9) |
Copy-ready code
/* CSS */
color: #bdf981;
background-color: #bdf981;
/* Tailwind (arbitrary) */
class="text-[#bdf981] bg-[#bdf981]"
/* SCSS */
$brand: #bdf981;
/* SwiftUI */
Color(red: 0.741, green: 0.976, blue: 0.506)
/* Android */
Color.parseColor("#bdf981")Accessibility — WCAG contrast
Aa
#bdf981 on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf981 on black: 17.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green97.6%
Blue50.6%
CMYK percentages
Cyan24.1%
Magenta0.0%
Yellow48.2%
Key (black)2.4%
Color previews
#bdf981 text on a black background
contrast 17.03:1
Card sample
#bdf981 text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf981;
Background color
Panel with #bdf981 background
background-color: #bdf981;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf981;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 249, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 249, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf981; background: linear-gradient(135deg, #bdf981, #81F995);