#dfd28c ≈ Flax
#dfd28c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 82.35% green and 54.9% blue; printed in CMYK it uses 0% cyan, 5.83% magenta, 37.22% yellow and 12.55% black. Its hue angle is 50.6°, with 56.46% saturation and 71.18% 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.73:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 4.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6367 |
Shades
#dfd28c mixed progressively with black.
Tints
#dfd28c mixed progressively with white.
Tones
#dfd28c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd28c {
color: #dfd28c;
}
.bg-dfd28c {
background-color: #dfd28c;
color: #000000;
}
.border-dfd28c {
border: 2px solid #dfd28c;
}
:root {
--color-primary: #dfd28c;
--color-primary-rgb: 223 210 140;
--color-primary-hsl: 51 56% 71%;
}
.gradient-dfd28c {
background: linear-gradient(135deg, #dfd28c, #c3df8c);
}
.shadow-dfd28c {
box-shadow: 0 8px 24px rgb(223 210 140 / 0.35);
}
Flax
#dfd28c rgb(223, 210, 140) hsl(51, 56%, 71%) Flax
#8c99df rgb(140, 153, 223) hsl(231, 56%, 71%) Cornflower Blue
#8cdfd2 rgb(140, 223, 210) hsl(171, 56%, 71%) Turquoise
#d28cdf rgb(210, 140, 223) hsl(291, 56%, 71%) Violet