#cfd52a ≈ Pear
#cfd52a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 83.53% green and 16.47% blue; printed in CMYK it uses 2.82% cyan, 0% magenta, 80.28% yellow and 16.47% black. Its hue angle is 62.11°, with 67.06% saturation and 50% 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 brand accents. Black text on this color reaches a contrast ratio of 13.2:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6102 |
Shades
#cfd52a mixed progressively with black.
Tints
#cfd52a mixed progressively with white.
Tones
#cfd52a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd52a {
color: #cfd52a;
}
.bg-cfd52a {
background-color: #cfd52a;
color: #000000;
}
.border-cfd52a {
border: 2px solid #cfd52a;
}
:root {
--color-primary: #cfd52a;
--color-primary-rgb: 207 213 42;
--color-primary-hsl: 62 67% 50%;
}
.gradient-cfd52a {
background: linear-gradient(135deg, #cfd52a, #79d52a);
}
.shadow-cfd52a {
box-shadow: 0 8px 24px rgb(207 213 42 / 0.35);
}
Pear
#cfd52a rgb(207, 213, 42) hsl(62, 67%, 50%) Pear
#302ad5 rgb(48, 42, 213) hsl(242, 67%, 50%) Blue
#2acfd5 rgb(42, 207, 213) hsl(182, 67%, 50%) Dark Turquoise
#d52acf rgb(213, 42, 207) hsl(302, 67%, 50%) Medium Orchid