#d8cf87 ≈ Flax
#d8cf87 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.71% red, 81.18% green and 52.94% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 37.5% yellow and 15.29% black. Its hue angle is 53.33°, with 50.94% 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.19:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 5.03.
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.6097 |
Shades
#d8cf87 mixed progressively with black.
Tints
#d8cf87 mixed progressively with white.
Tones
#d8cf87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8cf87 {
color: #d8cf87;
}
.bg-d8cf87 {
background-color: #d8cf87;
color: #000000;
}
.border-d8cf87 {
border: 2px solid #d8cf87;
}
:root {
--color-primary: #d8cf87;
--color-primary-rgb: 216 207 135;
--color-primary-hsl: 53 51% 69%;
}
.gradient-d8cf87 {
background: linear-gradient(135deg, #d8cf87, #b8d887);
}
.shadow-d8cf87 {
box-shadow: 0 8px 24px rgb(216 207 135 / 0.35);
}
Flax
#d8cf87 rgb(216, 207, 135) hsl(53, 51%, 69%) Flax
#8790d8 rgb(135, 144, 216) hsl(233, 51%, 69%) Cornflower Blue
#87d8cf rgb(135, 216, 207) hsl(173, 51%, 69%) Medium Turquoise
#cf87d8 rgb(207, 135, 216) hsl(293, 51%, 69%) Orchid