#d9cd7e ≈ Flax
#d9cd7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 80.39% green and 49.41% blue; printed in CMYK it uses 0% cyan, 5.53% magenta, 41.94% yellow and 14.9% black. Its hue angle is 52.09°, with 54.49% saturation and 67.25% 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 12.98:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 4.35.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5992 |
Shades
#d9cd7e mixed progressively with black.
Tints
#d9cd7e mixed progressively with white.
Tones
#d9cd7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9cd7e {
color: #d9cd7e;
}
.bg-d9cd7e {
background-color: #d9cd7e;
color: #000000;
}
.border-d9cd7e {
border: 2px solid #d9cd7e;
}
:root {
--color-primary: #d9cd7e;
--color-primary-rgb: 217 205 126;
--color-primary-hsl: 52 54% 67%;
}
.gradient-d9cd7e {
background: linear-gradient(135deg, #d9cd7e, #b7d97e);
}
.shadow-d9cd7e {
box-shadow: 0 8px 24px rgb(217 205 126 / 0.35);
}
Flax
#d9cd7e rgb(217, 205, 126) hsl(52, 54%, 67%) Flax
#7e8ad9 rgb(126, 138, 217) hsl(232, 54%, 67%) Glaucous
#7ed9cd rgb(126, 217, 205) hsl(172, 54%, 67%) Medium Turquoise
#cd7ed9 rgb(205, 126, 217) hsl(292, 54%, 67%) Orchid