#dcdc2f ≈ Pear
#dcdc2f 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 18.43% blue; printed in CMYK it uses 0% cyan, 0% magenta, 78.64% yellow and 13.73% black. Its hue angle is 60°, with 71.19% saturation and 52.35% 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.32:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.66.
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.6661 |
Shades
#dcdc2f mixed progressively with black.
Tints
#dcdc2f mixed progressively with white.
Tones
#dcdc2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcdc2f {
color: #dcdc2f;
}
.bg-dcdc2f {
background-color: #dcdc2f;
color: #000000;
}
.border-dcdc2f {
border: 2px solid #dcdc2f;
}
:root {
--color-primary: #dcdc2f;
--color-primary-rgb: 220 220 47;
--color-primary-hsl: 60 71% 52%;
}
.gradient-dcdc2f {
background: linear-gradient(135deg, #dcdc2f, #85dc2f);
}
.shadow-dcdc2f {
box-shadow: 0 8px 24px rgb(220 220 47 / 0.35);
}
Pear
#dcdc2f rgb(220, 220, 47) hsl(60, 71%, 52%) Pear
#2f2fdc rgb(47, 47, 220) hsl(240, 71%, 52%) Blue
#2fdcdc rgb(47, 220, 220) hsl(180, 71%, 52%) Medium Turquoise
#dc2fdc rgb(220, 47, 220) hsl(300, 71%, 52%) Medium Orchid