#dfd08c ≈ Flax
#dfd08c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 81.57% green and 54.9% blue; printed in CMYK it uses 0% cyan, 6.73% magenta, 37.22% yellow and 12.55% black. Its hue angle is 49.16°, 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.54:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 4.64.
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.6269 |
Shades
#dfd08c mixed progressively with black.
Tints
#dfd08c mixed progressively with white.
Tones
#dfd08c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd08c {
color: #dfd08c;
}
.bg-dfd08c {
background-color: #dfd08c;
color: #000000;
}
.border-dfd08c {
border: 2px solid #dfd08c;
}
:root {
--color-primary: #dfd08c;
--color-primary-rgb: 223 208 140;
--color-primary-hsl: 49 56% 71%;
}
.gradient-dfd08c {
background: linear-gradient(135deg, #dfd08c, #c5df8c);
}
.shadow-dfd08c {
box-shadow: 0 8px 24px rgb(223 208 140 / 0.35);
}
Flax
#dfd08c rgb(223, 208, 140) hsl(49, 56%, 71%) Flax
#8c9bdf rgb(140, 155, 223) hsl(229, 56%, 71%) Cornflower Blue
#8cdfd0 rgb(140, 223, 208) hsl(169, 56%, 71%) Turquoise
#d08cdf rgb(208, 140, 223) hsl(289, 56%, 71%) Violet