#dcdc2b ≈ Pear
#dcdc2b 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 16.86% blue; printed in CMYK it uses 0% cyan, 0% magenta, 80.45% yellow and 13.73% black. Its hue angle is 60°, with 71.66% saturation and 51.57% 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.72.
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.6658 |
Shades
#dcdc2b mixed progressively with black.
Tints
#dcdc2b mixed progressively with white.
Tones
#dcdc2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcdc2b {
color: #dcdc2b;
}
.bg-dcdc2b {
background-color: #dcdc2b;
color: #000000;
}
.border-dcdc2b {
border: 2px solid #dcdc2b;
}
:root {
--color-primary: #dcdc2b;
--color-primary-rgb: 220 220 43;
--color-primary-hsl: 60 72% 52%;
}
.gradient-dcdc2b {
background: linear-gradient(135deg, #dcdc2b, #84dc2b);
}
.shadow-dcdc2b {
box-shadow: 0 8px 24px rgb(220 220 43 / 0.35);
}
Pear
#dcdc2b rgb(220, 220, 43) hsl(60, 72%, 52%) Pear
#2b2bdc rgb(43, 43, 220) hsl(240, 72%, 52%) Blue
#2bdcdc rgb(43, 220, 220) hsl(180, 72%, 52%) Medium Turquoise
#dc2bdc rgb(220, 43, 220) hsl(300, 72%, 52%) Medium Orchid