#cdcd38 ≈ Pear
#cdcd38 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 21.96% blue; printed in CMYK it uses 0% cyan, 0% magenta, 72.68% yellow and 19.61% black. Its hue angle is 60°, with 59.84% 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 12.39:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 5.62.
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.5693 |
Shades
#cdcd38 mixed progressively with black.
Tints
#cdcd38 mixed progressively with white.
Tones
#cdcd38 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd38 {
color: #cdcd38;
}
.bg-cdcd38 {
background-color: #cdcd38;
color: #000000;
}
.border-cdcd38 {
border: 2px solid #cdcd38;
}
:root {
--color-primary: #cdcd38;
--color-primary-rgb: 205 205 56;
--color-primary-hsl: 60 60% 51%;
}
.gradient-cdcd38 {
background: linear-gradient(135deg, #cdcd38, #83cd38);
}
.shadow-cdcd38 {
box-shadow: 0 8px 24px rgb(205 205 56 / 0.35);
}
Pear
#cdcd38 rgb(205, 205, 56) hsl(60, 60%, 51%) Pear
#3838cd rgb(56, 56, 205) hsl(240, 60%, 51%) Persian Blue
#38cdcd rgb(56, 205, 205) hsl(180, 60%, 51%) Robin Egg Blue
#cd38cd rgb(205, 56, 205) hsl(300, 60%, 51%) Medium Orchid