#ced40f ≈ Pear
#ced40f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.78% red, 83.14% green and 5.88% blue; printed in CMYK it uses 2.83% cyan, 0% magenta, 92.92% yellow and 16.86% black. Its hue angle is 61.83°, with 86.78% saturation and 44.51% 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 13.05:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.85.
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.6024 |
Shades
#ced40f mixed progressively with black.
Tints
#ced40f mixed progressively with white.
Tones
#ced40f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ced40f {
color: #ced40f;
}
.bg-ced40f {
background-color: #ced40f;
color: #000000;
}
.border-ced40f {
border: 2px solid #ced40f;
}
:root {
--color-primary: #ced40f;
--color-primary-rgb: 206 212 15;
--color-primary-hsl: 62 87% 45%;
}
.gradient-ced40f {
background: linear-gradient(135deg, #ced40f, #6bd40f);
}
.shadow-ced40f {
box-shadow: 0 8px 24px rgb(206 212 15 / 0.35);
}
Pear
#ced40f rgb(206, 212, 15) hsl(62, 87%, 45%) Pear
#150fd4 rgb(21, 15, 212) hsl(242, 87%, 45%) Medium Blue
#0fced4 rgb(15, 206, 212) hsl(182, 87%, 45%) Dark Turquoise
#d40fce rgb(212, 15, 206) hsl(302, 87%, 45%) Medium Orchid