#ccd021 ≈ Pear
#ccd021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 81.57% green and 12.94% blue; printed in CMYK it uses 1.92% cyan, 0% magenta, 84.13% yellow and 18.43% black. Its hue angle is 61.37°, with 72.61% saturation and 47.25% 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.61:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.58.
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.5806 |
Shades
#ccd021 mixed progressively with black.
Tints
#ccd021 mixed progressively with white.
Tones
#ccd021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccd021 {
color: #ccd021;
}
.bg-ccd021 {
background-color: #ccd021;
color: #000000;
}
.border-ccd021 {
border: 2px solid #ccd021;
}
:root {
--color-primary: #ccd021;
--color-primary-rgb: 204 208 33;
--color-primary-hsl: 61 73% 47%;
}
.gradient-ccd021 {
background: linear-gradient(135deg, #ccd021, #74d021);
}
.shadow-ccd021 {
box-shadow: 0 8px 24px rgb(204 208 33 / 0.35);
}
Pear
#ccd021 rgb(204, 208, 33) hsl(61, 73%, 47%) Pear
#2521d0 rgb(37, 33, 208) hsl(241, 73%, 47%) Medium Blue
#21ccd0 rgb(33, 204, 208) hsl(181, 73%, 47%) Dark Turquoise
#d021cc rgb(208, 33, 204) hsl(301, 73%, 47%) Medium Orchid