#ccd72e ≈ Pear
#ccd72e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 84.31% green and 18.04% blue; printed in CMYK it uses 5.12% cyan, 0% magenta, 78.6% yellow and 15.69% black. Its hue angle is 63.91°, with 67.87% saturation and 51.18% 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 13.33:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.59.
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.6164 |
Shades
#ccd72e mixed progressively with black.
Tints
#ccd72e mixed progressively with white.
Tones
#ccd72e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccd72e {
color: #ccd72e;
}
.bg-ccd72e {
background-color: #ccd72e;
color: #000000;
}
.border-ccd72e {
border: 2px solid #ccd72e;
}
:root {
--color-primary: #ccd72e;
--color-primary-rgb: 204 215 46;
--color-primary-hsl: 64 68% 51%;
}
.gradient-ccd72e {
background: linear-gradient(135deg, #ccd72e, #77d72e);
}
.shadow-ccd72e {
box-shadow: 0 8px 24px rgb(204 215 46 / 0.35);
}
Pear
#ccd72e rgb(204, 215, 46) hsl(64, 68%, 51%) Pear
#392ed7 rgb(57, 46, 215) hsl(244, 68%, 51%) Han Purple
#2eccd7 rgb(46, 204, 215) hsl(184, 68%, 51%) Dark Turquoise
#d72ecc rgb(215, 46, 204) hsl(304, 68%, 51%) Medium Orchid