#d7df2a ≈ Pear
#d7df2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 87.45% green and 16.47% blue; printed in CMYK it uses 3.59% cyan, 0% magenta, 81.17% yellow and 12.55% black. Its hue angle is 62.65°, with 73.88% 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.48:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.
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.6739 |
Shades
#d7df2a mixed progressively with black.
Tints
#d7df2a mixed progressively with white.
Tones
#d7df2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7df2a {
color: #d7df2a;
}
.bg-d7df2a {
background-color: #d7df2a;
color: #000000;
}
.border-d7df2a {
border: 2px solid #d7df2a;
}
:root {
--color-primary: #d7df2a;
--color-primary-rgb: 215 223 42;
--color-primary-hsl: 63 74% 52%;
}
.gradient-d7df2a {
background: linear-gradient(135deg, #d7df2a, #7ddf2a);
}
.shadow-d7df2a {
box-shadow: 0 8px 24px rgb(215 223 42 / 0.35);
}
Pear
#d7df2a rgb(215, 223, 42) hsl(63, 74%, 52%) Pear
#322adf rgb(50, 42, 223) hsl(243, 74%, 52%) Blue
#2ad7df rgb(42, 215, 223) hsl(183, 74%, 52%) Dark Turquoise
#df2ad7 rgb(223, 42, 215) hsl(303, 74%, 52%) Medium Orchid