#cfef42 ≈ Pear
#cfef42 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, 93.73% green and 25.88% blue; printed in CMYK it uses 13.39% cyan, 0% magenta, 72.38% yellow and 6.27% black. Its hue angle is 71.1°, with 84.39% saturation and 59.8% 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 16.08:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.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.7539 |
Shades
#cfef42 mixed progressively with black.
Tints
#cfef42 mixed progressively with white.
Tones
#cfef42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfef42 {
color: #cfef42;
}
.bg-cfef42 {
background-color: #cfef42;
color: #000000;
}
.border-cfef42 {
border: 2px solid #cfef42;
}
:root {
--color-primary: #cfef42;
--color-primary-rgb: 207 239 66;
--color-primary-hsl: 71 84% 60%;
}
.gradient-cfef42 {
background: linear-gradient(135deg, #cfef42, #78ef42);
}
.shadow-cfef42 {
box-shadow: 0 8px 24px rgb(207 239 66 / 0.35);
}
Pear
#cfef42 rgb(207, 239, 66) hsl(71, 84%, 60%) Pear
#6242ef rgb(98, 66, 239) hsl(251, 84%, 60%) Majorelle Blue
#42cfef rgb(66, 207, 239) hsl(191, 84%, 60%) Sky Blue
#ef42cf rgb(239, 66, 207) hsl(311, 84%, 60%) Shocking Pink