#ccff42 ≈ Electric Lime
#ccff42 is a color from the yellow-green family, with high lightness and strong saturation. In the RGB model it is made of 80% red, 100% green and 25.88% blue; printed in CMYK it uses 20% cyan, 0% magenta, 74.12% yellow and 0% black. Its hue angle is 76.19°, with 100% saturation and 62.94% 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.95:1 (WCAG AAA). The closest named color is Electric Lime (#ccff00), ΔE 2.54.
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.8475 |
Shades
#ccff42 mixed progressively with black.
Tints
#ccff42 mixed progressively with white.
Tones
#ccff42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccff42 {
color: #ccff42;
}
.bg-ccff42 {
background-color: #ccff42;
color: #000000;
}
.border-ccff42 {
border: 2px solid #ccff42;
}
:root {
--color-primary: #ccff42;
--color-primary-rgb: 204 255 66;
--color-primary-hsl: 76 100% 63%;
}
.gradient-ccff42 {
background: linear-gradient(135deg, #ccff42, #6dff42);
}
.shadow-ccff42 {
box-shadow: 0 8px 24px rgb(204 255 66 / 0.35);
}
Electric Lime
#ccff42 rgb(204, 255, 66) hsl(76, 100%, 63%) Electric Lime
#7542ff rgb(117, 66, 255) hsl(256, 100%, 63%) Majorelle Blue
#42ccff rgb(66, 204, 255) hsl(196, 100%, 63%) Deep Sky Blue
#ff42cc rgb(255, 66, 204) hsl(316, 100%, 63%) Shocking Pink