#ccd331 ≈ Pear
#ccd331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 82.75% green and 19.22% blue; printed in CMYK it uses 3.32% cyan, 0% magenta, 76.78% yellow and 17.25% black. Its hue angle is 62.59°, with 64.8% saturation and 50.98% 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.93:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.7.
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.5965 |
Shades
#ccd331 mixed progressively with black.
Tints
#ccd331 mixed progressively with white.
Tones
#ccd331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccd331 {
color: #ccd331;
}
.bg-ccd331 {
background-color: #ccd331;
color: #000000;
}
.border-ccd331 {
border: 2px solid #ccd331;
}
:root {
--color-primary: #ccd331;
--color-primary-rgb: 204 211 49;
--color-primary-hsl: 63 65% 51%;
}
.gradient-ccd331 {
background: linear-gradient(135deg, #ccd331, #7bd331);
}
.shadow-ccd331 {
box-shadow: 0 8px 24px rgb(204 211 49 / 0.35);
}
Pear
#ccd331 rgb(204, 211, 49) hsl(63, 65%, 51%) Pear
#3831d3 rgb(56, 49, 211) hsl(243, 65%, 51%) Persian Blue
#31ccd3 rgb(49, 204, 211) hsl(183, 65%, 51%) Dark Turquoise
#d331cc rgb(211, 49, 204) hsl(303, 65%, 51%) Medium Orchid