#c8d012 ≈ Pear
#c8d012 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 7.06% blue; printed in CMYK it uses 3.85% cyan, 0% magenta, 91.35% yellow and 18.43% black. Its hue angle is 62.53°, with 84.07% saturation and 44.31% 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 12.49:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.37.
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.5743 |
Shades
#c8d012 mixed progressively with black.
Tints
#c8d012 mixed progressively with white.
Tones
#c8d012 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8d012 {
color: #c8d012;
}
.bg-c8d012 {
background-color: #c8d012;
color: #000000;
}
.border-c8d012 {
border: 2px solid #c8d012;
}
:root {
--color-primary: #c8d012;
--color-primary-rgb: 200 208 18;
--color-primary-hsl: 63 84% 44%;
}
.gradient-c8d012 {
background: linear-gradient(135deg, #c8d012, #69d012);
}
.shadow-c8d012 {
box-shadow: 0 8px 24px rgb(200 208 18 / 0.35);
}
Pear
#c8d012 rgb(200, 208, 18) hsl(63, 84%, 44%) Pear
#1a12d0 rgb(26, 18, 208) hsl(243, 84%, 44%) Medium Blue
#12c8d0 rgb(18, 200, 208) hsl(183, 84%, 44%) Dark Turquoise
#d012c8 rgb(208, 18, 200) hsl(303, 84%, 44%) Medium Orchid