#baeb51
a balanced, electric green · cool · closest name: yellow
RGB
186, 235, 81
HSL
79°, 79%, 62%
CMYK
21, 0, 66, 8
Luminance
0.7045
Every format
| HEX | #baeb51 |
| RGB | rgb(186, 235, 81) |
| HSL | hsl(79, 79%, 62%) |
| CMYK | cmyk(21%, 0%, 66%, 8%) |
| LAB | lab(87.2 -37.4 66.8) |
| LCH | lch(87.2 76.6 119.2) |
| OKLCH | oklch(0.877 0.186 125.3) |
Copy-ready code
/* CSS */
color: #baeb51;
background-color: #baeb51;
/* Tailwind (arbitrary) */
class="text-[#baeb51] bg-[#baeb51]"
/* SCSS */
$brand: #baeb51;
/* SwiftUI */
Color(red: 0.729, green: 0.922, blue: 0.318)
/* Android */
Color.parseColor("#baeb51")Accessibility — WCAG contrast
Aa
#baeb51 on white: 1.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baeb51 on black: 15.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green92.2%
Blue31.8%
CMYK percentages
Cyan20.9%
Magenta0.0%
Yellow65.5%
Key (black)7.8%
Color previews
#baeb51 text on a black background
contrast 15.09:1
Card sample
#baeb51 text on a white background
contrast 1.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baeb51;
Background color
Panel with #baeb51 background
background-color: #baeb51;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baeb51;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 235, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 235, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baeb51; background: linear-gradient(135deg, #baeb51, #53EB51);