#c8d41f ≈ Pear
#c8d41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 83.14% green and 12.16% blue; printed in CMYK it uses 5.66% cyan, 0% magenta, 85.38% yellow and 16.86% black. Its hue angle is 63.98°, with 74.49% saturation and 47.65% 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.89:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.25.
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.5947 |
Shades
#c8d41f mixed progressively with black.
Tints
#c8d41f mixed progressively with white.
Tones
#c8d41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8d41f {
color: #c8d41f;
}
.bg-c8d41f {
background-color: #c8d41f;
color: #000000;
}
.border-c8d41f {
border: 2px solid #c8d41f;
}
:root {
--color-primary: #c8d41f;
--color-primary-rgb: 200 212 31;
--color-primary-hsl: 64 74% 48%;
}
.gradient-c8d41f {
background: linear-gradient(135deg, #c8d41f, #6dd41f);
}
.shadow-c8d41f {
box-shadow: 0 8px 24px rgb(200 212 31 / 0.35);
}
Pear
#c8d41f rgb(200, 212, 31) hsl(64, 74%, 48%) Pear
#2b1fd4 rgb(43, 31, 212) hsl(244, 74%, 48%) Medium Blue
#1fc8d4 rgb(31, 200, 212) hsl(184, 74%, 48%) Dark Turquoise
#d41fc8 rgb(212, 31, 200) hsl(304, 74%, 48%) Medium Orchid