#c8d704 ≈ Pear
#c8d704 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 84.31% green and 1.57% blue; printed in CMYK it uses 6.98% cyan, 0% magenta, 98.14% yellow and 15.69% black. Its hue angle is 64.27°, with 96.35% saturation and 42.94% 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.18:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.79.
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.6089 |
Shades
#c8d704 mixed progressively with black.
Tints
#c8d704 mixed progressively with white.
Tones
#c8d704 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8d704 {
color: #c8d704;
}
.bg-c8d704 {
background-color: #c8d704;
color: #000000;
}
.border-c8d704 {
border: 2px solid #c8d704;
}
:root {
--color-primary: #c8d704;
--color-primary-rgb: 200 215 4;
--color-primary-hsl: 64 96% 43%;
}
.gradient-c8d704 {
background: linear-gradient(135deg, #c8d704, #5ed704);
}
.shadow-c8d704 {
box-shadow: 0 8px 24px rgb(200 215 4 / 0.35);
}
Pear
#c8d704 rgb(200, 215, 4) hsl(64, 96%, 43%) Pear
#1304d7 rgb(19, 4, 215) hsl(244, 96%, 43%) Medium Blue
#04c8d7 rgb(4, 200, 215) hsl(184, 96%, 43%) Dark Turquoise
#d704c8 rgb(215, 4, 200) hsl(304, 96%, 43%) Medium Orchid