#cfed42 ≈ Pear
#cfed42 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.94% green and 25.88% blue; printed in CMYK it uses 12.66% cyan, 0% magenta, 72.15% yellow and 7.06% black. Its hue angle is 70.53°, with 82.61% saturation and 59.41% 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.85:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.35.
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.7423 |
Shades
#cfed42 mixed progressively with black.
Tints
#cfed42 mixed progressively with white.
Tones
#cfed42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfed42 {
color: #cfed42;
}
.bg-cfed42 {
background-color: #cfed42;
color: #000000;
}
.border-cfed42 {
border: 2px solid #cfed42;
}
:root {
--color-primary: #cfed42;
--color-primary-rgb: 207 237 66;
--color-primary-hsl: 71 83% 59%;
}
.gradient-cfed42 {
background: linear-gradient(135deg, #cfed42, #79ed42);
}
.shadow-cfed42 {
box-shadow: 0 8px 24px rgb(207 237 66 / 0.35);
}
Pear
#cfed42 rgb(207, 237, 66) hsl(71, 83%, 59%) Pear
#6042ed rgb(96, 66, 237) hsl(251, 83%, 59%) Majorelle Blue
#42cfed rgb(66, 207, 237) hsl(191, 83%, 59%) Sky Blue
#ed42cf rgb(237, 66, 207) hsl(311, 83%, 59%) Shocking Pink