#cfd412 ≈ Pear
#cfd412 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 83.14% green and 7.06% blue; printed in CMYK it uses 2.36% cyan, 0% magenta, 91.51% yellow and 16.86% black. Its hue angle is 61.55°, with 84.35% saturation and 45.1% 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.08:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.94.
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.604 |
Shades
#cfd412 mixed progressively with black.
Tints
#cfd412 mixed progressively with white.
Tones
#cfd412 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd412 {
color: #cfd412;
}
.bg-cfd412 {
background-color: #cfd412;
color: #000000;
}
.border-cfd412 {
border: 2px solid #cfd412;
}
:root {
--color-primary: #cfd412;
--color-primary-rgb: 207 212 18;
--color-primary-hsl: 62 84% 45%;
}
.gradient-cfd412 {
background: linear-gradient(135deg, #cfd412, #6ed412);
}
.shadow-cfd412 {
box-shadow: 0 8px 24px rgb(207 212 18 / 0.35);
}
Pear
#cfd412 rgb(207, 212, 18) hsl(62, 84%, 45%) Pear
#1712d4 rgb(23, 18, 212) hsl(242, 84%, 45%) Medium Blue
#12cfd4 rgb(18, 207, 212) hsl(182, 84%, 45%) Dark Turquoise
#d412cf rgb(212, 18, 207) hsl(302, 84%, 45%) Medium Orchid