#cfec0f ≈ Pear
#cfec0f is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 92.55% green and 5.88% blue; printed in CMYK it uses 12.29% cyan, 0% magenta, 93.64% yellow and 7.45% black. Its hue angle is 67.87°, with 88.05% saturation and 49.22% 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.66:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7329 |
Shades
#cfec0f mixed progressively with black.
Tints
#cfec0f mixed progressively with white.
Tones
#cfec0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfec0f {
color: #cfec0f;
}
.bg-cfec0f {
background-color: #cfec0f;
color: #000000;
}
.border-cfec0f {
border: 2px solid #cfec0f;
}
:root {
--color-primary: #cfec0f;
--color-primary-rgb: 207 236 15;
--color-primary-hsl: 68 88% 49%;
}
.gradient-cfec0f {
background: linear-gradient(135deg, #cfec0f, #61ec0f);
}
.shadow-cfec0f {
box-shadow: 0 8px 24px rgb(207 236 15 / 0.35);
}
Pear
#cfec0f rgb(207, 236, 15) hsl(68, 88%, 49%) Pear
#2c0fec rgb(44, 15, 236) hsl(248, 88%, 49%) Blue
#0fcfec rgb(15, 207, 236) hsl(188, 88%, 49%) Sky Blue
#ec0fcf rgb(236, 15, 207) hsl(308, 88%, 49%) Shocking Pink