#cfec40 ≈ Pear
#cfec40 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, 92.55% green and 25.1% blue; printed in CMYK it uses 12.29% cyan, 0% magenta, 72.88% yellow and 7.45% black. Its hue angle is 70.12°, with 81.9% saturation and 58.82% 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 15.73:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.06.
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.7363 |
Shades
#cfec40 mixed progressively with black.
Tints
#cfec40 mixed progressively with white.
Tones
#cfec40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfec40 {
color: #cfec40;
}
.bg-cfec40 {
background-color: #cfec40;
color: #000000;
}
.border-cfec40 {
border: 2px solid #cfec40;
}
:root {
--color-primary: #cfec40;
--color-primary-rgb: 207 236 64;
--color-primary-hsl: 70 82% 59%;
}
.gradient-cfec40 {
background: linear-gradient(135deg, #cfec40, #79ec40);
}
.shadow-cfec40 {
box-shadow: 0 8px 24px rgb(207 236 64 / 0.35);
}
Pear
#cfec40 rgb(207, 236, 64) hsl(70, 82%, 59%) Pear
#5d40ec rgb(93, 64, 236) hsl(250, 82%, 59%) Majorelle Blue
#40cfec rgb(64, 207, 236) hsl(190, 82%, 59%) Sky Blue
#ec40cf rgb(236, 64, 207) hsl(310, 82%, 59%) Shocking Pink