#cff940 ≈ Electric Lime
#cff940 is a color from the yellow-green family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 97.65% green and 25.1% blue; printed in CMYK it uses 16.87% cyan, 0% magenta, 74.3% yellow and 2.35% black. Its hue angle is 73.62°, with 93.91% saturation and 61.37% lightness in HSL. It is a warm color, 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.28:1 (WCAG AAA). The closest named color is Electric Lime (#ccff00), ΔE 2.66.
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.8139 |
Shades
#cff940 mixed progressively with black.
Tints
#cff940 mixed progressively with white.
Tones
#cff940 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cff940 {
color: #cff940;
}
.bg-cff940 {
background-color: #cff940;
color: #000000;
}
.border-cff940 {
border: 2px solid #cff940;
}
:root {
--color-primary: #cff940;
--color-primary-rgb: 207 249 64;
--color-primary-hsl: 74 94% 61%;
}
.gradient-cff940 {
background: linear-gradient(135deg, #cff940, #72f940);
}
.shadow-cff940 {
box-shadow: 0 8px 24px rgb(207 249 64 / 0.35);
}
Electric Lime
#cff940 rgb(207, 249, 64) hsl(74, 94%, 61%) Electric Lime
#6a40f9 rgb(106, 64, 249) hsl(254, 94%, 61%) Majorelle Blue
#40cff9 rgb(64, 207, 249) hsl(194, 94%, 61%) Sky Blue
#f940cf rgb(249, 64, 207) hsl(314, 94%, 61%) Shocking Pink