#f2df96 ≈ Buff
#f2df96 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 87.45% green and 58.82% blue; printed in CMYK it uses 0% cyan, 7.85% magenta, 38.02% yellow and 5.1% black. Its hue angle is 47.61°, with 77.97% saturation and 76.86% 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.77:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 3.02.
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.7385 |
Shades
#f2df96 mixed progressively with black.
Tints
#f2df96 mixed progressively with white.
Tones
#f2df96 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2df96 {
color: #f2df96;
}
.bg-f2df96 {
background-color: #f2df96;
color: #000000;
}
.border-f2df96 {
border: 2px solid #f2df96;
}
:root {
--color-primary: #f2df96;
--color-primary-rgb: 242 223 150;
--color-primary-hsl: 48 78% 77%;
}
.gradient-f2df96 {
background: linear-gradient(135deg, #f2df96, #d7f296);
}
.shadow-f2df96 {
box-shadow: 0 8px 24px rgb(242 223 150 / 0.35);
}
Buff
#f2df96 rgb(242, 223, 150) hsl(48, 78%, 77%) Buff
#96a9f2 rgb(150, 169, 242) hsl(228, 78%, 77%) Wild Blue Yonder
#96f2df rgb(150, 242, 223) hsl(168, 78%, 77%) Magic Mint
#df96f2 rgb(223, 150, 242) hsl(288, 78%, 77%) Violet