#baf02d
a balanced, electric green · cool · closest name: yellow
RGB
186, 240, 45
HSL
77°, 87%, 56%
CMYK
23, 0, 81, 6
Luminance
0.7295
Every format
| HEX | #baf02d |
| RGB | rgb(186, 240, 45) |
| HSL | hsl(77, 87%, 56%) |
| CMYK | cmyk(23%, 0%, 81%, 6%) |
| LAB | lab(88.4 -41.5 79.5) |
| LCH | lch(88.4 89.7 117.5) |
| OKLCH | oklch(0.886 0.211 125.0) |
Copy-ready code
/* CSS */
color: #baf02d;
background-color: #baf02d;
/* Tailwind (arbitrary) */
class="text-[#baf02d] bg-[#baf02d]"
/* SCSS */
$brand: #baf02d;
/* SwiftUI */
Color(red: 0.729, green: 0.941, blue: 0.176)
/* Android */
Color.parseColor("#baf02d")Accessibility — WCAG contrast
Aa
#baf02d on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf02d on black: 15.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green94.1%
Blue17.6%
CMYK percentages
Cyan22.5%
Magenta0.0%
Yellow81.3%
Key (black)5.9%
Color previews
#baf02d text on a black background
contrast 15.59:1
Card sample
#baf02d text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf02d;
Background color
Panel with #baf02d background
background-color: #baf02d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf02d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 240, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 240, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf02d; background: linear-gradient(135deg, #baf02d, #38F02D);