#c7ca2b ≈ Pear
#c7ca2b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 79.22% green and 16.86% blue; printed in CMYK it uses 1.49% cyan, 0% magenta, 78.71% yellow and 20.78% black. Its hue angle is 61.13°, with 64.9% saturation and 48.04% 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 11.91:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.88.
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.5456 |
Shades
#c7ca2b mixed progressively with black.
Tints
#c7ca2b mixed progressively with white.
Tones
#c7ca2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7ca2b {
color: #c7ca2b;
}
.bg-c7ca2b {
background-color: #c7ca2b;
color: #000000;
}
.border-c7ca2b {
border: 2px solid #c7ca2b;
}
:root {
--color-primary: #c7ca2b;
--color-primary-rgb: 199 202 43;
--color-primary-hsl: 61 65% 48%;
}
.gradient-c7ca2b {
background: linear-gradient(135deg, #c7ca2b, #78ca2b);
}
.shadow-c7ca2b {
box-shadow: 0 8px 24px rgb(199 202 43 / 0.35);
}
Pear
#c7ca2b rgb(199, 202, 43) hsl(61, 65%, 48%) Pear
#2e2bca rgb(46, 43, 202) hsl(241, 65%, 48%) Persian Blue
#2bc7ca rgb(43, 199, 202) hsl(181, 65%, 48%) Dark Turquoise
#ca2bc7 rgb(202, 43, 199) hsl(301, 65%, 48%) Medium Orchid