#cfd40a ≈ Pear
#cfd40a 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 3.92% blue; printed in CMYK it uses 2.36% cyan, 0% magenta, 95.28% yellow and 16.86% black. Its hue angle is 61.49°, with 90.99% saturation and 43.53% 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.07:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.01.
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.6037 |
Shades
#cfd40a mixed progressively with black.
Tints
#cfd40a mixed progressively with white.
Tones
#cfd40a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd40a {
color: #cfd40a;
}
.bg-cfd40a {
background-color: #cfd40a;
color: #000000;
}
.border-cfd40a {
border: 2px solid #cfd40a;
}
:root {
--color-primary: #cfd40a;
--color-primary-rgb: 207 212 10;
--color-primary-hsl: 61 91% 44%;
}
.gradient-cfd40a {
background: linear-gradient(135deg, #cfd40a, #6ad40a);
}
.shadow-cfd40a {
box-shadow: 0 8px 24px rgb(207 212 10 / 0.35);
}
Pear
#cfd40a rgb(207, 212, 10) hsl(61, 91%, 44%) Pear
#0f0ad4 rgb(15, 10, 212) hsl(241, 91%, 44%) Medium Blue
#0acfd4 rgb(10, 207, 212) hsl(181, 91%, 44%) Dark Turquoise
#d40acf rgb(212, 10, 207) hsl(301, 91%, 44%) Medium Orchid