#d5cf8a ≈ Flax
#d5cf8a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 83.53% red, 81.18% green and 54.12% blue; printed in CMYK it uses 0% cyan, 2.82% magenta, 35.21% yellow and 16.47% black. Its hue angle is 55.2°, with 47.17% saturation and 68.82% 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.12:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.9.
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.6061 |
Shades
#d5cf8a mixed progressively with black.
Tints
#d5cf8a mixed progressively with white.
Tones
#d5cf8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5cf8a {
color: #d5cf8a;
}
.bg-d5cf8a {
background-color: #d5cf8a;
color: #000000;
}
.border-d5cf8a {
border: 2px solid #d5cf8a;
}
:root {
--color-primary: #d5cf8a;
--color-primary-rgb: 213 207 138;
--color-primary-hsl: 55 47% 69%;
}
.gradient-d5cf8a {
background: linear-gradient(135deg, #d5cf8a, #b5d58a);
}
.shadow-d5cf8a {
box-shadow: 0 8px 24px rgb(213 207 138 / 0.35);
}
Flax
#d5cf8a rgb(213, 207, 138) hsl(55, 47%, 69%) Flax
#8a90d5 rgb(138, 144, 213) hsl(235, 47%, 69%) Cool Gray
#8ad5cf rgb(138, 213, 207) hsl(175, 47%, 69%) Medium Turquoise
#cf8ad5 rgb(207, 138, 213) hsl(295, 47%, 69%) Plum