#bdf640
a balanced, electric green · cool · closest name: yellow
RGB
189, 246, 64
HSL
79°, 91%, 61%
CMYK
23, 0, 74, 4
Luminance
0.7710
Every format
| HEX | #bdf640 |
| RGB | rgb(189, 246, 64) |
| HSL | hsl(79, 91%, 61%) |
| CMYK | cmyk(23%, 0%, 74%, 4%) |
| LAB | lab(90.4 -42.2 76.0) |
| LCH | lch(90.4 87.0 119.0) |
| OKLCH | oklch(0.903 0.208 125.9) |
Copy-ready code
/* CSS */
color: #bdf640;
background-color: #bdf640;
/* Tailwind (arbitrary) */
class="text-[#bdf640] bg-[#bdf640]"
/* SCSS */
$brand: #bdf640;
/* SwiftUI */
Color(red: 0.741, green: 0.965, blue: 0.251)
/* Android */
Color.parseColor("#bdf640")Accessibility — WCAG contrast
Aa
#bdf640 on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf640 on black: 16.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green96.5%
Blue25.1%
CMYK percentages
Cyan23.2%
Magenta0.0%
Yellow74.0%
Key (black)3.5%
Color previews
#bdf640 text on a black background
contrast 16.42:1
Card sample
#bdf640 text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf640;
Background color
Panel with #bdf640 background
background-color: #bdf640;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf640;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 246, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 246, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf640; background: linear-gradient(135deg, #bdf640, #44F640);