#cfda12 ≈ Pear
#cfda12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 85.49% green and 7.06% blue; printed in CMYK it uses 5.05% cyan, 0% magenta, 91.74% yellow and 14.51% black. Its hue angle is 63.3°, with 84.75% saturation and 46.27% 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.69:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.4.
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.6345 |
Shades
#cfda12 mixed progressively with black.
Tints
#cfda12 mixed progressively with white.
Tones
#cfda12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfda12 {
color: #cfda12;
}
.bg-cfda12 {
background-color: #cfda12;
color: #000000;
}
.border-cfda12 {
border: 2px solid #cfda12;
}
:root {
--color-primary: #cfda12;
--color-primary-rgb: 207 218 18;
--color-primary-hsl: 63 85% 46%;
}
.gradient-cfda12 {
background: linear-gradient(135deg, #cfda12, #6bda12);
}
.shadow-cfda12 {
box-shadow: 0 8px 24px rgb(207 218 18 / 0.35);
}
Pear
#cfda12 rgb(207, 218, 18) hsl(63, 85%, 46%) Pear
#1d12da rgb(29, 18, 218) hsl(243, 85%, 46%) Medium Blue
#12cfda rgb(18, 207, 218) hsl(183, 85%, 46%) Dark Turquoise
#da12cf rgb(218, 18, 207) hsl(303, 85%, 46%) Medium Orchid