#f0df97 ≈ Flax
#f0df97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 87.45% green and 59.22% blue; printed in CMYK it uses 0% cyan, 7.08% magenta, 37.08% yellow and 5.88% black. Its hue angle is 48.54°, with 74.79% saturation and 76.67% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 15.71:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 3.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7353 |
Shades
#f0df97 mixed progressively with black.
Tints
#f0df97 mixed progressively with white.
Tones
#f0df97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0df97 {
color: #f0df97;
}
.bg-f0df97 {
background-color: #f0df97;
color: #000000;
}
.border-f0df97 {
border: 2px solid #f0df97;
}
:root {
--color-primary: #f0df97;
--color-primary-rgb: 240 223 151;
--color-primary-hsl: 49 75% 77%;
}
.gradient-f0df97 {
background: linear-gradient(135deg, #f0df97, #d5f097);
}
.shadow-f0df97 {
box-shadow: 0 8px 24px rgb(240 223 151 / 0.35);
}
Flax
#f0df97 rgb(240, 223, 151) hsl(49, 75%, 77%) Flax
#97a8f0 rgb(151, 168, 240) hsl(229, 75%, 77%) Wild Blue Yonder
#97f0df rgb(151, 240, 223) hsl(169, 75%, 77%) Magic Mint
#df97f0 rgb(223, 151, 240) hsl(289, 75%, 77%) Violet