#dcdc4f ≈ Pear
#dcdc4f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 86.27% green and 30.98% blue; printed in CMYK it uses 0% cyan, 0% magenta, 64.09% yellow and 13.73% black. Its hue angle is 60°, with 66.82% saturation and 58.63% 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 14.39:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6697 |
Shades
#dcdc4f mixed progressively with black.
Tints
#dcdc4f mixed progressively with white.
Tones
#dcdc4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcdc4f {
color: #dcdc4f;
}
.bg-dcdc4f {
background-color: #dcdc4f;
color: #000000;
}
.border-dcdc4f {
border: 2px solid #dcdc4f;
}
:root {
--color-primary: #dcdc4f;
--color-primary-rgb: 220 220 79;
--color-primary-hsl: 60 67% 59%;
}
.gradient-dcdc4f {
background: linear-gradient(135deg, #dcdc4f, #96dc4f);
}
.shadow-dcdc4f {
box-shadow: 0 8px 24px rgb(220 220 79 / 0.35);
}
Pear
#dcdc4f rgb(220, 220, 79) hsl(60, 67%, 59%) Pear
#4f4fdc rgb(79, 79, 220) hsl(240, 67%, 59%) Iris
#4fdcdc rgb(79, 220, 220) hsl(180, 67%, 59%) Medium Turquoise
#dc4fdc rgb(220, 79, 220) hsl(300, 67%, 59%) Medium Orchid