#d9cc8a ≈ Flax
#d9cc8a 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% green and 54.12% blue; printed in CMYK it uses 0% cyan, 5.99% magenta, 36.41% yellow and 14.9% black. Its hue angle is 50.13°, with 50.97% saturation and 69.61% 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.95:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.65.
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.5977 |
Shades
#d9cc8a mixed progressively with black.
Tints
#d9cc8a mixed progressively with white.
Tones
#d9cc8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9cc8a {
color: #d9cc8a;
}
.bg-d9cc8a {
background-color: #d9cc8a;
color: #000000;
}
.border-d9cc8a {
border: 2px solid #d9cc8a;
}
:root {
--color-primary: #d9cc8a;
--color-primary-rgb: 217 204 138;
--color-primary-hsl: 50 51% 70%;
}
.gradient-d9cc8a {
background: linear-gradient(135deg, #d9cc8a, #bfd98a);
}
.shadow-d9cc8a {
box-shadow: 0 8px 24px rgb(217 204 138 / 0.35);
}
Flax
#d9cc8a rgb(217, 204, 138) hsl(50, 51%, 70%) Flax
#8a97d9 rgb(138, 151, 217) hsl(230, 51%, 70%) Cornflower Blue
#8ad9cc rgb(138, 217, 204) hsl(170, 51%, 70%) Turquoise
#cc8ad9 rgb(204, 138, 217) hsl(290, 51%, 70%) Floral Lavender