#cccd2f ≈ Pear
#cccd2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 80.39% green and 18.43% blue; printed in CMYK it uses 0.49% cyan, 0% magenta, 77.07% yellow and 19.61% black. Its hue angle is 60.38°, with 62.7% saturation and 49.41% 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.34:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.44.
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.5671 |
Shades
#cccd2f mixed progressively with black.
Tints
#cccd2f mixed progressively with white.
Tones
#cccd2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cccd2f {
color: #cccd2f;
}
.bg-cccd2f {
background-color: #cccd2f;
color: #000000;
}
.border-cccd2f {
border: 2px solid #cccd2f;
}
:root {
--color-primary: #cccd2f;
--color-primary-rgb: 204 205 47;
--color-primary-hsl: 60 63% 49%;
}
.gradient-cccd2f {
background: linear-gradient(135deg, #cccd2f, #7dcd2f);
}
.shadow-cccd2f {
box-shadow: 0 8px 24px rgb(204 205 47 / 0.35);
}
Pear
#cccd2f rgb(204, 205, 47) hsl(60, 63%, 49%) Pear
#302fcd rgb(48, 47, 205) hsl(240, 63%, 49%) Persian Blue
#2fcccd rgb(47, 204, 205) hsl(180, 63%, 49%) Robin Egg Blue
#cd2fcc rgb(205, 47, 204) hsl(300, 63%, 49%) Medium Orchid