#d2dd0f ≈ Pear
#d2dd0f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 86.67% green and 5.88% blue; printed in CMYK it uses 4.98% cyan, 0% magenta, 93.21% yellow and 13.33% black. Its hue angle is 63.2°, with 87.29% saturation and 46.27% 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 14.09:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.18.
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.6545 |
Shades
#d2dd0f mixed progressively with black.
Tints
#d2dd0f mixed progressively with white.
Tones
#d2dd0f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2dd0f {
color: #d2dd0f;
}
.bg-d2dd0f {
background-color: #d2dd0f;
color: #000000;
}
.border-d2dd0f {
border: 2px solid #d2dd0f;
}
:root {
--color-primary: #d2dd0f;
--color-primary-rgb: 210 221 15;
--color-primary-hsl: 63 87% 46%;
}
.gradient-d2dd0f {
background: linear-gradient(135deg, #d2dd0f, #6bdd0f);
}
.shadow-d2dd0f {
box-shadow: 0 8px 24px rgb(210 221 15 / 0.35);
}
Pear
#d2dd0f rgb(210, 221, 15) hsl(63, 87%, 46%) Pear
#1a0fdd rgb(26, 15, 221) hsl(243, 87%, 46%) Medium Blue
#0fd2dd rgb(15, 210, 221) hsl(183, 87%, 46%) Dark Turquoise
#dd0fd2 rgb(221, 15, 210) hsl(303, 87%, 46%) Medium Orchid