#baf019
a balanced, electric green · cool · closest name: yellow
RGB
186, 240, 25
HSL
75°, 88%, 52%
CMYK
23, 0, 90, 6
Luminance
0.7283
Every format
| HEX | #baf019 |
| RGB | rgb(186, 240, 25) |
| HSL | hsl(75, 88%, 52%) |
| CMYK | cmyk(23%, 0%, 90%, 6%) |
| LAB | lab(88.4 -42.0 83.4) |
| LCH | lch(88.4 93.3 116.7) |
| OKLCH | oklch(0.885 0.217 124.6) |
Copy-ready code
/* CSS */
color: #baf019;
background-color: #baf019;
/* Tailwind (arbitrary) */
class="text-[#baf019] bg-[#baf019]"
/* SCSS */
$brand: #baf019;
/* SwiftUI */
Color(red: 0.729, green: 0.941, blue: 0.098)
/* Android */
Color.parseColor("#baf019")Accessibility — WCAG contrast
Aa
#baf019 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf019 on black: 15.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.1%
Blue9.8%
CMYK percentages
Cyan22.5%
Magenta0.0%
Yellow89.6%
Key (black)5.9%
Color previews
#baf019 text on a black background
contrast 15.57:1
Card sample
#baf019 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf019;
Background color
Panel with #baf019 background
background-color: #baf019;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf019;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 240, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf019; background: linear-gradient(135deg, #baf019, #2BF019);