#cacc2e ≈ Pear
#cacc2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 80% green and 18.04% blue; printed in CMYK it uses 0.98% cyan, 0% magenta, 77.45% yellow and 20% black. Its hue angle is 60.76°, with 63.2% saturation and 49.02% 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.19:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.54.
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.5594 |
Shades
#cacc2e mixed progressively with black.
Tints
#cacc2e mixed progressively with white.
Tones
#cacc2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cacc2e {
color: #cacc2e;
}
.bg-cacc2e {
background-color: #cacc2e;
color: #000000;
}
.border-cacc2e {
border: 2px solid #cacc2e;
}
:root {
--color-primary: #cacc2e;
--color-primary-rgb: 202 204 46;
--color-primary-hsl: 61 63% 49%;
}
.gradient-cacc2e {
background: linear-gradient(135deg, #cacc2e, #7bcc2e);
}
.shadow-cacc2e {
box-shadow: 0 8px 24px rgb(202 204 46 / 0.35);
}
Pear
#cacc2e rgb(202, 204, 46) hsl(61, 63%, 49%) Pear
#302ecc rgb(48, 46, 204) hsl(241, 63%, 49%) Persian Blue
#2ecacc rgb(46, 202, 204) hsl(181, 63%, 49%) Dark Turquoise
#cc2eca rgb(204, 46, 202) hsl(301, 63%, 49%) Medium Orchid