#bafa02 ≈ Electric Lime
#bafa02 is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 98.04% green and 0.78% blue; printed in CMYK it uses 25.6% cyan, 0% magenta, 99.2% yellow and 1.96% black. Its hue angle is 75.48°, with 98.41% saturation and 49.41% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 16.76:1 (WCAG AAA). The closest named color is Electric Lime (#ccff00), ΔE 2.58.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7881 |
Shades
#bafa02 mixed progressively with black.
Tints
#bafa02 mixed progressively with white.
Tones
#bafa02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bafa02 {
color: #bafa02;
}
.bg-bafa02 {
background-color: #bafa02;
color: #000000;
}
.border-bafa02 {
border: 2px solid #bafa02;
}
:root {
--color-primary: #bafa02;
--color-primary-rgb: 186 250 2;
--color-primary-hsl: 75 98% 49%;
}
.gradient-bafa02 {
background: linear-gradient(135deg, #bafa02, #3efa02);
}
.shadow-bafa02 {
box-shadow: 0 8px 24px rgb(186 250 2 / 0.35);
}
Electric Lime
#bafa02 rgb(186, 250, 2) hsl(75, 98%, 49%) Electric Lime
#4202fa rgb(66, 2, 250) hsl(255, 98%, 49%) Ultramarine
#02bafa rgb(2, 186, 250) hsl(195, 98%, 49%) Deep Sky Blue
#fa02ba rgb(250, 2, 186) hsl(315, 98%, 49%) Shocking Pink