#dfec1b ≈ Pear
#dfec1b 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 10.59% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 88.56% yellow and 7.45% black. Its hue angle is 63.73°, with 84.62% saturation and 51.57% 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.15:1 (WCAG AAA). The closest named color is Pear (#d1e231), ΔE 3.15.
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.7576 |
Shades
#dfec1b mixed progressively with black.
Tints
#dfec1b mixed progressively with white.
Tones
#dfec1b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfec1b {
color: #dfec1b;
}
.bg-dfec1b {
background-color: #dfec1b;
color: #000000;
}
.border-dfec1b {
border: 2px solid #dfec1b;
}
:root {
--color-primary: #dfec1b;
--color-primary-rgb: 223 236 27;
--color-primary-hsl: 64 85% 52%;
}
.gradient-dfec1b {
background: linear-gradient(135deg, #dfec1b, #77ec1b);
}
.shadow-dfec1b {
box-shadow: 0 8px 24px rgb(223 236 27 / 0.35);
}
Pear
#dfec1b rgb(223, 236, 27) hsl(64, 85%, 52%) Pear
#281bec rgb(40, 27, 236) hsl(244, 85%, 52%) Blue
#1bdfec rgb(27, 223, 236) hsl(184, 85%, 52%) Dark Turquoise
#ec1bdf rgb(236, 27, 223) hsl(304, 85%, 52%) Fuchsia