#cdcd2e ≈ Pear
#cdcd2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 80.39% green and 18.04% blue; printed in CMYK it uses 0% cyan, 0% magenta, 77.56% yellow and 19.61% black. Its hue angle is 60°, with 63.35% saturation and 49.22% 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.37:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.54.
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.5684 |
Shades
#cdcd2e mixed progressively with black.
Tints
#cdcd2e mixed progressively with white.
Tones
#cdcd2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd2e {
color: #cdcd2e;
}
.bg-cdcd2e {
background-color: #cdcd2e;
color: #000000;
}
.border-cdcd2e {
border: 2px solid #cdcd2e;
}
:root {
--color-primary: #cdcd2e;
--color-primary-rgb: 205 205 46;
--color-primary-hsl: 60 63% 49%;
}
.gradient-cdcd2e {
background: linear-gradient(135deg, #cdcd2e, #7ecd2e);
}
.shadow-cdcd2e {
box-shadow: 0 8px 24px rgb(205 205 46 / 0.35);
}
Pear
#cdcd2e rgb(205, 205, 46) hsl(60, 63%, 49%) Pear
#2e2ecd rgb(46, 46, 205) hsl(240, 63%, 49%) Persian Blue
#2ecdcd rgb(46, 205, 205) hsl(180, 63%, 49%) Robin Egg Blue
#cd2ecd rgb(205, 46, 205) hsl(300, 63%, 49%) Medium Orchid