#c0cd2a ≈ Pear
#c0cd2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 80.39% green and 16.47% blue; printed in CMYK it uses 6.34% cyan, 0% magenta, 79.51% yellow and 19.61% black. Its hue angle is 64.79°, with 65.99% saturation and 48.43% 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.01:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.92.
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.5504 |
Shades
#c0cd2a mixed progressively with black.
Tints
#c0cd2a mixed progressively with white.
Tones
#c0cd2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c0cd2a {
color: #c0cd2a;
}
.bg-c0cd2a {
background-color: #c0cd2a;
color: #000000;
}
.border-c0cd2a {
border: 2px solid #c0cd2a;
}
:root {
--color-primary: #c0cd2a;
--color-primary-rgb: 192 205 42;
--color-primary-hsl: 65 66% 48%;
}
.gradient-c0cd2a {
background: linear-gradient(135deg, #c0cd2a, #6ecd2a);
}
.shadow-c0cd2a {
box-shadow: 0 8px 24px rgb(192 205 42 / 0.35);
}
Pear
#c0cd2a rgb(192, 205, 42) hsl(65, 66%, 48%) Pear
#372acd rgb(55, 42, 205) hsl(245, 66%, 48%) Persian Blue
#2ac0cd rgb(42, 192, 205) hsl(185, 66%, 48%) Dark Turquoise
#cd2ac0 rgb(205, 42, 192) hsl(305, 66%, 48%) Medium Orchid