#f5d331 ≈ Gold
#f5d331 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 82.75% green and 19.22% blue; printed in CMYK it uses 0% cyan, 13.88% magenta, 80% yellow and 3.92% black. Its hue angle is 49.59°, with 90.74% saturation and 57.65% 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.24:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.59.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6622 |
Shades
#f5d331 mixed progressively with black.
Tints
#f5d331 mixed progressively with white.
Tones
#f5d331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5d331 {
color: #f5d331;
}
.bg-f5d331 {
background-color: #f5d331;
color: #000000;
}
.border-f5d331 {
border: 2px solid #f5d331;
}
:root {
--color-primary: #f5d331;
--color-primary-rgb: 245 211 49;
--color-primary-hsl: 50 91% 58%;
}
.gradient-f5d331 {
background: linear-gradient(135deg, #f5d331, #b5f531);
}
.shadow-f5d331 {
box-shadow: 0 8px 24px rgb(245 211 49 / 0.35);
}
Gold
#f5d331 rgb(245, 211, 49) hsl(50, 91%, 58%) Gold
#3153f5 rgb(49, 83, 245) hsl(230, 91%, 58%) Majorelle Blue
#31f5d3 rgb(49, 245, 211) hsl(170, 91%, 58%) Aquamarine
#d331f5 rgb(211, 49, 245) hsl(290, 91%, 58%) Electric Purple