#cdcf2a ≈ Pear
#cdcf2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 81.18% green and 16.47% blue; printed in CMYK it uses 0.97% cyan, 0% magenta, 79.71% yellow and 18.82% black. Its hue angle is 60.73°, with 66.27% saturation and 48.82% 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.55:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.94.
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.5777 |
Shades
#cdcf2a mixed progressively with black.
Tints
#cdcf2a mixed progressively with white.
Tones
#cdcf2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcf2a {
color: #cdcf2a;
}
.bg-cdcf2a {
background-color: #cdcf2a;
color: #000000;
}
.border-cdcf2a {
border: 2px solid #cdcf2a;
}
:root {
--color-primary: #cdcf2a;
--color-primary-rgb: 205 207 42;
--color-primary-hsl: 61 66% 49%;
}
.gradient-cdcf2a {
background: linear-gradient(135deg, #cdcf2a, #7acf2a);
}
.shadow-cdcf2a {
box-shadow: 0 8px 24px rgb(205 207 42 / 0.35);
}
Pear
#cdcf2a rgb(205, 207, 42) hsl(61, 66%, 49%) Pear
#2c2acf rgb(44, 42, 207) hsl(241, 66%, 49%) Persian Blue
#2acdcf rgb(42, 205, 207) hsl(181, 66%, 49%) Dark Turquoise
#cf2acd rgb(207, 42, 205) hsl(301, 66%, 49%) Medium Orchid