#cfdf0f ≈ Pear
#cfdf0f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 87.45% green and 5.88% blue; printed in CMYK it uses 7.17% cyan, 0% magenta, 93.27% yellow and 12.55% black. Its hue angle is 64.62°, with 87.39% saturation and 46.67% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and call-to-action buttons. Black text on this color reaches a contrast ratio of 14.22:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.52.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6608 |
Shades
#cfdf0f mixed progressively with black.
Tints
#cfdf0f mixed progressively with white.
Tones
#cfdf0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfdf0f {
color: #cfdf0f;
}
.bg-cfdf0f {
background-color: #cfdf0f;
color: #000000;
}
.border-cfdf0f {
border: 2px solid #cfdf0f;
}
:root {
--color-primary: #cfdf0f;
--color-primary-rgb: 207 223 15;
--color-primary-hsl: 65 87% 47%;
}
.gradient-cfdf0f {
background: linear-gradient(135deg, #cfdf0f, #67df0f);
}
.shadow-cfdf0f {
box-shadow: 0 8px 24px rgb(207 223 15 / 0.35);
}
Pear
#cfdf0f rgb(207, 223, 15) hsl(65, 87%, 47%) Pear
#1f0fdf rgb(31, 15, 223) hsl(245, 87%, 47%) Medium Blue
#0fcfdf rgb(15, 207, 223) hsl(185, 87%, 47%) Dark Turquoise
#df0fcf rgb(223, 15, 207) hsl(305, 87%, 47%) Shocking Pink