#c7fa2f ≈ Electric Lime
#c7fa2f is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 78.04% red, 98.04% green and 18.43% blue; printed in CMYK it uses 20.4% cyan, 0% magenta, 81.2% yellow and 1.96% black. Its hue angle is 75.07°, with 95.31% saturation and 58.24% 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 17.14:1 (WCAG AAA). The closest named color is Electric Lime (#ccff00), ΔE 1.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8072 |
Shades
#c7fa2f mixed progressively with black.
Tints
#c7fa2f mixed progressively with white.
Tones
#c7fa2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7fa2f {
color: #c7fa2f;
}
.bg-c7fa2f {
background-color: #c7fa2f;
color: #000000;
}
.border-c7fa2f {
border: 2px solid #c7fa2f;
}
:root {
--color-primary: #c7fa2f;
--color-primary-rgb: 199 250 47;
--color-primary-hsl: 75 95% 58%;
}
.gradient-c7fa2f {
background: linear-gradient(135deg, #c7fa2f, #62fa2f);
}
.shadow-c7fa2f {
box-shadow: 0 8px 24px rgb(199 250 47 / 0.35);
}
Electric Lime
#c7fa2f rgb(199, 250, 47) hsl(75, 95%, 58%) Electric Lime
#622ffa rgb(98, 47, 250) hsl(255, 95%, 58%) Electric Indigo
#2fc7fa rgb(47, 199, 250) hsl(195, 95%, 58%) Deep Sky Blue
#fa2fc7 rgb(250, 47, 199) hsl(315, 95%, 58%) Shocking Pink