#baf73c
a balanced, electric green · cool · closest name: yellow
RGB
186, 247, 60
HSL
80°, 92%, 60%
CMYK
25, 0, 76, 3
Luminance
0.7729
Every format
| HEX | #baf73c |
| RGB | rgb(186, 247, 60) |
| HSL | hsl(80, 92%, 60%) |
| CMYK | cmyk(25%, 0%, 76%, 3%) |
| LAB | lab(90.5 -43.9 77.3) |
| LCH | lch(90.5 88.9 119.6) |
| OKLCH | oklch(0.903 0.213 126.6) |
Copy-ready code
/* CSS */
color: #baf73c;
background-color: #baf73c;
/* Tailwind (arbitrary) */
class="text-[#baf73c] bg-[#baf73c]"
/* SCSS */
$brand: #baf73c;
/* SwiftUI */
Color(red: 0.729, green: 0.969, blue: 0.235)
/* Android */
Color.parseColor("#baf73c")Accessibility — WCAG contrast
Aa
#baf73c on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baf73c on black: 16.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green96.9%
Blue23.5%
CMYK percentages
Cyan24.7%
Magenta0.0%
Yellow75.7%
Key (black)3.1%
Color previews
#baf73c text on a black background
contrast 16.46:1
Card sample
#baf73c text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baf73c;
Background color
Panel with #baf73c background
background-color: #baf73c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baf73c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 247, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 247, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baf73c; background: linear-gradient(135deg, #baf73c, #3DF73C);