#dfec2f ≈ Pear
#dfec2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 92.55% green and 18.43% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 80.08% yellow and 7.45% black. Its hue angle is 64.13°, with 83.26% saturation and 55.49% 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 16.18:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7588 |
Shades
#dfec2f mixed progressively with black.
Tints
#dfec2f mixed progressively with white.
Tones
#dfec2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfec2f {
color: #dfec2f;
}
.bg-dfec2f {
background-color: #dfec2f;
color: #000000;
}
.border-dfec2f {
border: 2px solid #dfec2f;
}
:root {
--color-primary: #dfec2f;
--color-primary-rgb: 223 236 47;
--color-primary-hsl: 64 83% 55%;
}
.gradient-dfec2f {
background: linear-gradient(135deg, #dfec2f, #80ec2f);
}
.shadow-dfec2f {
box-shadow: 0 8px 24px rgb(223 236 47 / 0.35);
}
Pear
#dfec2f rgb(223, 236, 47) hsl(64, 83%, 55%) Pear
#3c2fec rgb(60, 47, 236) hsl(244, 83%, 55%) Han Purple
#2fdfec rgb(47, 223, 236) hsl(184, 83%, 55%) Dark Turquoise
#ec2fdf rgb(236, 47, 223) hsl(304, 83%, 55%) Fuchsia