#c8d02f ≈ Pear
#c8d02f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 81.57% green and 18.43% blue; printed in CMYK it uses 3.85% cyan, 0% magenta, 77.4% yellow and 18.43% black. Its hue angle is 62.98°, with 63.14% 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 12.52:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.28.
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.576 |
Shades
#c8d02f mixed progressively with black.
Tints
#c8d02f mixed progressively with white.
Tones
#c8d02f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8d02f {
color: #c8d02f;
}
.bg-c8d02f {
background-color: #c8d02f;
color: #000000;
}
.border-c8d02f {
border: 2px solid #c8d02f;
}
:root {
--color-primary: #c8d02f;
--color-primary-rgb: 200 208 47;
--color-primary-hsl: 63 63% 50%;
}
.gradient-c8d02f {
background: linear-gradient(135deg, #c8d02f, #78d02f);
}
.shadow-c8d02f {
box-shadow: 0 8px 24px rgb(200 208 47 / 0.35);
}
Pear
#c8d02f rgb(200, 208, 47) hsl(63, 63%, 50%) Pear
#372fd0 rgb(55, 47, 208) hsl(243, 63%, 50%) Persian Blue
#2fc8d0 rgb(47, 200, 208) hsl(183, 63%, 50%) Dark Turquoise
#d02fc8 rgb(208, 47, 200) hsl(303, 63%, 50%) Medium Orchid