#def874 ≈ Pastel Yellow
#def874 is a color from the yellow-green family, with high lightness and strong saturation. In the RGB model it is made of 87.06% red, 97.25% green and 45.49% blue; printed in CMYK it uses 10.48% cyan, 0% magenta, 53.23% yellow and 2.75% black. Its hue angle is 71.82°, with 90.41% saturation and 71.37% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and call-to-action buttons. Black text on this color reaches a contrast ratio of 17.79:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 6.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ccff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8393 |
Shades
#def874 mixed progressively with black.
Tints
#def874 mixed progressively with white.
Tones
#def874 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-def874 {
color: #def874;
}
.bg-def874 {
background-color: #def874;
color: #000000;
}
.border-def874 {
border: 2px solid #def874;
}
:root {
--color-primary: #def874;
--color-primary-rgb: 222 248 116;
--color-primary-hsl: 72 90% 71%;
}
.gradient-def874 {
background: linear-gradient(135deg, #def874, #9cf874);
}
.shadow-def874 {
box-shadow: 0 8px 24px rgb(222 248 116 / 0.35);
}
Pastel Yellow
#def874 rgb(222, 248, 116) hsl(72, 90%, 71%) Pastel Yellow
#8e74f8 rgb(142, 116, 248) hsl(252, 90%, 71%) Medium Slate Blue
#74def8 rgb(116, 222, 248) hsl(192, 90%, 71%) Sky Blue
#f874de rgb(248, 116, 222) hsl(312, 90%, 71%) Rose Pink