#caf940 ≈ Electric Lime
#caf940 is a color from the yellow-green family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 97.65% green and 25.1% blue; printed in CMYK it uses 18.88% cyan, 0% magenta, 74.3% yellow and 2.35% black. Its hue angle is 75.24°, with 93.91% saturation and 61.37% 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 2.8.
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.8068 |
Shades
#caf940 mixed progressively with black.
Tints
#caf940 mixed progressively with white.
Tones
#caf940 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-caf940 {
color: #caf940;
}
.bg-caf940 {
background-color: #caf940;
color: #000000;
}
.border-caf940 {
border: 2px solid #caf940;
}
:root {
--color-primary: #caf940;
--color-primary-rgb: 202 249 64;
--color-primary-hsl: 75 94% 61%;
}
.gradient-caf940 {
background: linear-gradient(135deg, #caf940, #6df940);
}
.shadow-caf940 {
box-shadow: 0 8px 24px rgb(202 249 64 / 0.35);
}
Electric Lime
#caf940 rgb(202, 249, 64) hsl(75, 94%, 61%) Electric Lime
#6f40f9 rgb(111, 64, 249) hsl(255, 94%, 61%) Majorelle Blue
#40caf9 rgb(64, 202, 249) hsl(195, 94%, 61%) Deep Sky Blue
#f940ca rgb(249, 64, 202) hsl(315, 94%, 61%) Shocking Pink