#dfec2a ≈ Pear
#dfec2a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 92.55% green and 16.47% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 82.2% yellow and 7.45% black. Its hue angle is 64.02°, with 83.62% saturation and 54.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 16.17:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 2.82.
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.7585 |
Shades
#dfec2a mixed progressively with black.
Tints
#dfec2a mixed progressively with white.
Tones
#dfec2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfec2a {
color: #dfec2a;
}
.bg-dfec2a {
background-color: #dfec2a;
color: #000000;
}
.border-dfec2a {
border: 2px solid #dfec2a;
}
:root {
--color-primary: #dfec2a;
--color-primary-rgb: 223 236 42;
--color-primary-hsl: 64 84% 55%;
}
.gradient-dfec2a {
background: linear-gradient(135deg, #dfec2a, #7eec2a);
}
.shadow-dfec2a {
box-shadow: 0 8px 24px rgb(223 236 42 / 0.35);
}
Pear
#dfec2a rgb(223, 236, 42) hsl(64, 84%, 55%) Pear
#372aec rgb(55, 42, 236) hsl(244, 84%, 55%) Han Purple
#2adfec rgb(42, 223, 236) hsl(184, 84%, 55%) Dark Turquoise
#ec2adf rgb(236, 42, 223) hsl(304, 84%, 55%) Fuchsia