#f5d42e ≈ Gold
#f5d42e is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 83.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 13.47% magenta, 81.22% yellow and 3.92% black. Its hue angle is 50.05°, with 90.87% saturation and 57.06% 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.34:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.49.
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.667 |
Shades
#f5d42e mixed progressively with black.
Tints
#f5d42e mixed progressively with white.
Tones
#f5d42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5d42e {
color: #f5d42e;
}
.bg-f5d42e {
background-color: #f5d42e;
color: #000000;
}
.border-f5d42e {
border: 2px solid #f5d42e;
}
:root {
--color-primary: #f5d42e;
--color-primary-rgb: 245 212 46;
--color-primary-hsl: 50 91% 57%;
}
.gradient-f5d42e {
background: linear-gradient(135deg, #f5d42e, #b3f52e);
}
.shadow-f5d42e {
box-shadow: 0 8px 24px rgb(245 212 46 / 0.35);
}
Gold
#f5d42e rgb(245, 212, 46) hsl(50, 91%, 57%) Gold
#2e4ff5 rgb(46, 79, 245) hsl(230, 91%, 57%) Majorelle Blue
#2ef5d4 rgb(46, 245, 212) hsl(170, 91%, 57%) Turquoise Blue
#d42ef5 rgb(212, 46, 245) hsl(290, 91%, 57%) Electric Purple