#c8da0c ≈ Pear
#c8da0c is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 85.49% green and 4.71% blue; printed in CMYK it uses 8.26% cyan, 0% magenta, 94.5% yellow and 14.51% black. Its hue angle is 65.24°, with 89.57% saturation and 45.1% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 13.49:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.16.
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.6245 |
Shades
#c8da0c mixed progressively with black.
Tints
#c8da0c mixed progressively with white.
Tones
#c8da0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8da0c {
color: #c8da0c;
}
.bg-c8da0c {
background-color: #c8da0c;
color: #000000;
}
.border-c8da0c {
border: 2px solid #c8da0c;
}
:root {
--color-primary: #c8da0c;
--color-primary-rgb: 200 218 12;
--color-primary-hsl: 65 90% 45%;
}
.gradient-c8da0c {
background: linear-gradient(135deg, #c8da0c, #61da0c);
}
.shadow-c8da0c {
box-shadow: 0 8px 24px rgb(200 218 12 / 0.35);
}
Pear
#c8da0c rgb(200, 218, 12) hsl(65, 90%, 45%) Pear
#1e0cda rgb(30, 12, 218) hsl(245, 90%, 45%) Medium Blue
#0cc8da rgb(12, 200, 218) hsl(185, 90%, 45%) Dark Turquoise
#da0cc8 rgb(218, 12, 200) hsl(305, 90%, 45%) Shocking Pink