#d2d40f ≈ Pear
#d2d40f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 83.14% green and 5.88% blue; printed in CMYK it uses 0.94% cyan, 0% magenta, 92.92% yellow and 16.86% black. Its hue angle is 60.61°, with 86.78% saturation and 44.51% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.16:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 4.37.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6082 |
Shades
#d2d40f mixed progressively with black.
Tints
#d2d40f mixed progressively with white.
Tones
#d2d40f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2d40f {
color: #d2d40f;
}
.bg-d2d40f {
background-color: #d2d40f;
color: #000000;
}
.border-d2d40f {
border: 2px solid #d2d40f;
}
:root {
--color-primary: #d2d40f;
--color-primary-rgb: 210 212 15;
--color-primary-hsl: 61 87% 45%;
}
.gradient-d2d40f {
background: linear-gradient(135deg, #d2d40f, #6fd40f);
}
.shadow-d2d40f {
box-shadow: 0 8px 24px rgb(210 212 15 / 0.35);
}
Pear
#d2d40f rgb(210, 212, 15) hsl(61, 87%, 45%) Pear
#110fd4 rgb(17, 15, 212) hsl(241, 87%, 45%) Medium Blue
#0fd2d4 rgb(15, 210, 212) hsl(181, 87%, 45%) Dark Turquoise
#d40fd2 rgb(212, 15, 210) hsl(301, 87%, 45%) Medium Orchid