#cccf31 ≈ Pear
#cccf31 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 81.18% green and 19.22% blue; printed in CMYK it uses 1.45% cyan, 0% magenta, 76.33% yellow and 18.82% black. Its hue angle is 61.14°, with 62.2% saturation and 50.2% 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.54:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.85.
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.5768 |
Shades
#cccf31 mixed progressively with black.
Tints
#cccf31 mixed progressively with white.
Tones
#cccf31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cccf31 {
color: #cccf31;
}
.bg-cccf31 {
background-color: #cccf31;
color: #000000;
}
.border-cccf31 {
border: 2px solid #cccf31;
}
:root {
--color-primary: #cccf31;
--color-primary-rgb: 204 207 49;
--color-primary-hsl: 61 62% 50%;
}
.gradient-cccf31 {
background: linear-gradient(135deg, #cccf31, #7dcf31);
}
.shadow-cccf31 {
box-shadow: 0 8px 24px rgb(204 207 49 / 0.35);
}
Pear
#cccf31 rgb(204, 207, 49) hsl(61, 62%, 50%) Pear
#3431cf rgb(52, 49, 207) hsl(241, 62%, 50%) Persian Blue
#31cccf rgb(49, 204, 207) hsl(181, 62%, 50%) Dark Turquoise
#cf31cc rgb(207, 49, 204) hsl(301, 62%, 50%) Medium Orchid