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