#cacc42 ≈ Pear
#cacc42 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 25.88% blue; printed in CMYK it uses 0.98% cyan, 0% magenta, 67.65% yellow and 20% black. Its hue angle is 60.87°, with 57.5% saturation and 52.94% 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.23:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.89.
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.5614 |
Shades
#cacc42 mixed progressively with black.
Tints
#cacc42 mixed progressively with white.
Tones
#cacc42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cacc42 {
color: #cacc42;
}
.bg-cacc42 {
background-color: #cacc42;
color: #000000;
}
.border-cacc42 {
border: 2px solid #cacc42;
}
:root {
--color-primary: #cacc42;
--color-primary-rgb: 202 204 66;
--color-primary-hsl: 61 58% 53%;
}
.gradient-cacc42 {
background: linear-gradient(135deg, #cacc42, #85cc42);
}
.shadow-cacc42 {
box-shadow: 0 8px 24px rgb(202 204 66 / 0.35);
}
Pear
#cacc42 rgb(202, 204, 66) hsl(61, 58%, 53%) Pear
#4442cc rgb(68, 66, 204) hsl(241, 58%, 53%) Ocean Blue
#42cacc rgb(66, 202, 204) hsl(181, 58%, 53%) Dark Turquoise
#cc42ca rgb(204, 66, 202) hsl(301, 58%, 53%) Medium Orchid