#dcd18c ≈ Flax
#dcd18c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 81.96% green and 54.9% blue; printed in CMYK it uses 0% cyan, 5% magenta, 36.36% yellow and 13.73% black. Its hue angle is 51.75°, with 53.33% saturation and 70.59% 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.78.
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.6271 |
Shades
#dcd18c mixed progressively with black.
Tints
#dcd18c mixed progressively with white.
Tones
#dcd18c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd18c {
color: #dcd18c;
}
.bg-dcd18c {
background-color: #dcd18c;
color: #000000;
}
.border-dcd18c {
border: 2px solid #dcd18c;
}
:root {
--color-primary: #dcd18c;
--color-primary-rgb: 220 209 140;
--color-primary-hsl: 52 53% 71%;
}
.gradient-dcd18c {
background: linear-gradient(135deg, #dcd18c, #bfdc8c);
}
.shadow-dcd18c {
box-shadow: 0 8px 24px rgb(220 209 140 / 0.35);
}
Flax
#dcd18c rgb(220, 209, 140) hsl(52, 53%, 71%) Flax
#8c97dc rgb(140, 151, 220) hsl(232, 53%, 71%) Wild Blue Yonder
#8cdcd1 rgb(140, 220, 209) hsl(172, 53%, 71%) Medium Turquoise
#d18cdc rgb(209, 140, 220) hsl(292, 53%, 71%) Violet