#d4d42e ≈ Pear
#d4d42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.14% red, 83.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 0% magenta, 78.3% yellow and 16.86% black. Its hue angle is 60°, with 65.87% saturation and 50.59% 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 13.26: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 | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6128 |
Shades
#d4d42e mixed progressively with black.
Tints
#d4d42e mixed progressively with white.
Tones
#d4d42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d4d42e {
color: #d4d42e;
}
.bg-d4d42e {
background-color: #d4d42e;
color: #000000;
}
.border-d4d42e {
border: 2px solid #d4d42e;
}
:root {
--color-primary: #d4d42e;
--color-primary-rgb: 212 212 46;
--color-primary-hsl: 60 66% 51%;
}
.gradient-d4d42e {
background: linear-gradient(135deg, #d4d42e, #81d42e);
}
.shadow-d4d42e {
box-shadow: 0 8px 24px rgb(212 212 46 / 0.35);
}
Pear
#d4d42e rgb(212, 212, 46) hsl(60, 66%, 51%) Pear
#2e2ed4 rgb(46, 46, 212) hsl(240, 66%, 51%) Persian Blue
#2ed4d4 rgb(46, 212, 212) hsl(180, 66%, 51%) Dark Turquoise
#d42ed4 rgb(212, 46, 212) hsl(300, 66%, 51%) Medium Orchid