#cedf0c ≈ Pear
#cedf0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.78% red, 87.45% green and 4.71% blue; printed in CMYK it uses 7.62% cyan, 0% magenta, 94.62% yellow and 12.55% black. Its hue angle is 64.83°, with 89.79% saturation and 46.08% 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.18: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.6592 |
Shades
#cedf0c mixed progressively with black.
Tints
#cedf0c mixed progressively with white.
Tones
#cedf0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cedf0c {
color: #cedf0c;
}
.bg-cedf0c {
background-color: #cedf0c;
color: #000000;
}
.border-cedf0c {
border: 2px solid #cedf0c;
}
:root {
--color-primary: #cedf0c;
--color-primary-rgb: 206 223 12;
--color-primary-hsl: 65 90% 46%;
}
.gradient-cedf0c {
background: linear-gradient(135deg, #cedf0c, #65df0c);
}
.shadow-cedf0c {
box-shadow: 0 8px 24px rgb(206 223 12 / 0.35);
}
Pear
#cedf0c rgb(206, 223, 12) hsl(65, 90%, 46%) Pear
#1d0cdf rgb(29, 12, 223) hsl(245, 90%, 46%) Medium Blue
#0ccedf rgb(12, 206, 223) hsl(185, 90%, 46%) Dark Turquoise
#df0cce rgb(223, 12, 206) hsl(305, 90%, 46%) Shocking Pink