#c8d40e ≈ Pear
#c8d40e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 83.14% green and 5.49% blue; printed in CMYK it uses 5.66% cyan, 0% magenta, 93.4% yellow and 16.86% black. Its hue angle is 63.64°, with 87.61% 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.88:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.39.
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.594 |
Shades
#c8d40e mixed progressively with black.
Tints
#c8d40e mixed progressively with white.
Tones
#c8d40e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8d40e {
color: #c8d40e;
}
.bg-c8d40e {
background-color: #c8d40e;
color: #000000;
}
.border-c8d40e {
border: 2px solid #c8d40e;
}
:root {
--color-primary: #c8d40e;
--color-primary-rgb: 200 212 14;
--color-primary-hsl: 64 88% 44%;
}
.gradient-c8d40e {
background: linear-gradient(135deg, #c8d40e, #65d40e);
}
.shadow-c8d40e {
box-shadow: 0 8px 24px rgb(200 212 14 / 0.35);
}
Pear
#c8d40e rgb(200, 212, 14) hsl(64, 88%, 44%) Pear
#1a0ed4 rgb(26, 14, 212) hsl(244, 88%, 44%) Medium Blue
#0ec8d4 rgb(14, 200, 212) hsl(184, 88%, 44%) Dark Turquoise
#d40ec8 rgb(212, 14, 200) hsl(304, 88%, 44%) Medium Orchid