#f8d252 ≈ Mustard
#f8d252 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 97.25% red, 82.35% green and 32.16% blue; printed in CMYK it uses 0% cyan, 15.32% magenta, 66.94% yellow and 2.75% black. Its hue angle is 46.27°, with 92.22% saturation and 64.71% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 14.33:1 (WCAG AAA). The closest named color is Mustard (#ffdb58), ΔE 2.08.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6666 |
Shades
#f8d252 mixed progressively with black.
Tints
#f8d252 mixed progressively with white.
Tones
#f8d252 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8d252 {
color: #f8d252;
}
.bg-f8d252 {
background-color: #f8d252;
color: #000000;
}
.border-f8d252 {
border: 2px solid #f8d252;
}
:root {
--color-primary: #f8d252;
--color-primary-rgb: 248 210 82;
--color-primary-hsl: 46 92% 65%;
}
.gradient-f8d252 {
background: linear-gradient(135deg, #f8d252, #cbf852);
}
.shadow-f8d252 {
box-shadow: 0 8px 24px rgb(248 210 82 / 0.35);
}
Mustard
#f8d252 rgb(248, 210, 82) hsl(46, 92%, 65%) Mustard
#5278f8 rgb(82, 120, 248) hsl(226, 92%, 65%) Brandeis Blue
#52f8d2 rgb(82, 248, 210) hsl(166, 92%, 65%) Aquamarine
#d252f8 rgb(210, 82, 248) hsl(286, 92%, 65%) Medium Orchid