#cdcd3b ≈ Pear
#cdcd3b 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 23.14% blue; printed in CMYK it uses 0% cyan, 0% magenta, 71.22% yellow and 19.61% black. Its hue angle is 60°, with 59.35% saturation and 51.76% 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.39:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.67.
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.5696 |
Shades
#cdcd3b mixed progressively with black.
Tints
#cdcd3b mixed progressively with white.
Tones
#cdcd3b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd3b {
color: #cdcd3b;
}
.bg-cdcd3b {
background-color: #cdcd3b;
color: #000000;
}
.border-cdcd3b {
border: 2px solid #cdcd3b;
}
:root {
--color-primary: #cdcd3b;
--color-primary-rgb: 205 205 59;
--color-primary-hsl: 60 59% 52%;
}
.gradient-cdcd3b {
background: linear-gradient(135deg, #cdcd3b, #84cd3b);
}
.shadow-cdcd3b {
box-shadow: 0 8px 24px rgb(205 205 59 / 0.35);
}
Pear
#cdcd3b rgb(205, 205, 59) hsl(60, 59%, 52%) Pear
#3b3bcd rgb(59, 59, 205) hsl(240, 59%, 52%) Persian Blue
#3bcdcd rgb(59, 205, 205) hsl(180, 59%, 52%) Robin Egg Blue
#cd3bcd rgb(205, 59, 205) hsl(300, 59%, 52%) Medium Orchid