#d2de12 ≈ Pear
#d2de12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 87.06% green and 7.06% blue; printed in CMYK it uses 5.41% cyan, 0% magenta, 91.89% yellow and 12.94% black. Its hue angle is 63.53°, with 85% saturation and 47.06% 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.2:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 1.93.
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.6599 |
Shades
#d2de12 mixed progressively with black.
Tints
#d2de12 mixed progressively with white.
Tones
#d2de12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2de12 {
color: #d2de12;
}
.bg-d2de12 {
background-color: #d2de12;
color: #000000;
}
.border-d2de12 {
border: 2px solid #d2de12;
}
:root {
--color-primary: #d2de12;
--color-primary-rgb: 210 222 18;
--color-primary-hsl: 64 85% 47%;
}
.gradient-d2de12 {
background: linear-gradient(135deg, #d2de12, #6cde12);
}
.shadow-d2de12 {
box-shadow: 0 8px 24px rgb(210 222 18 / 0.35);
}
Pear
#d2de12 rgb(210, 222, 18) hsl(64, 85%, 47%) Pear
#1e12de rgb(30, 18, 222) hsl(244, 85%, 47%) Medium Blue
#12d2de rgb(18, 210, 222) hsl(184, 85%, 47%) Dark Turquoise
#de12d2 rgb(222, 18, 210) hsl(304, 85%, 47%) Medium Orchid