#d7dc2d ≈ Pear
#d7dc2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 86.27% green and 17.65% blue; printed in CMYK it uses 2.27% cyan, 0% magenta, 79.55% yellow and 13.73% black. Its hue angle is 61.71°, with 71.43% saturation and 51.96% 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.16:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.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.6582 |
Shades
#d7dc2d mixed progressively with black.
Tints
#d7dc2d mixed progressively with white.
Tones
#d7dc2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7dc2d {
color: #d7dc2d;
}
.bg-d7dc2d {
background-color: #d7dc2d;
color: #000000;
}
.border-d7dc2d {
border: 2px solid #d7dc2d;
}
:root {
--color-primary: #d7dc2d;
--color-primary-rgb: 215 220 45;
--color-primary-hsl: 62 71% 52%;
}
.gradient-d7dc2d {
background: linear-gradient(135deg, #d7dc2d, #80dc2d);
}
.shadow-d7dc2d {
box-shadow: 0 8px 24px rgb(215 220 45 / 0.35);
}
Pear
#d7dc2d rgb(215, 220, 45) hsl(62, 71%, 52%) Pear
#322ddc rgb(50, 45, 220) hsl(242, 71%, 52%) Blue
#2dd7dc rgb(45, 215, 220) hsl(182, 71%, 52%) Dark Turquoise
#dc2dd7 rgb(220, 45, 215) hsl(302, 71%, 52%) Medium Orchid