#f4d308 ≈ Gold
#f4d308 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 82.75% green and 3.14% blue; printed in CMYK it uses 0% cyan, 13.52% magenta, 96.72% yellow and 4.31% black. Its hue angle is 51.61°, with 93.65% saturation and 49.41% 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.17:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6584 |
Shades
#f4d308 mixed progressively with black.
Tints
#f4d308 mixed progressively with white.
Tones
#f4d308 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4d308 {
color: #f4d308;
}
.bg-f4d308 {
background-color: #f4d308;
color: #000000;
}
.border-f4d308 {
border: 2px solid #f4d308;
}
:root {
--color-primary: #f4d308;
--color-primary-rgb: 244 211 8;
--color-primary-hsl: 52 94% 49%;
}
.gradient-f4d308 {
background: linear-gradient(135deg, #f4d308, #9ff408);
}
.shadow-f4d308 {
box-shadow: 0 8px 24px rgb(244 211 8 / 0.35);
}
Gold
#f4d308 rgb(244, 211, 8) hsl(52, 94%, 49%) Gold
#0829f4 rgb(8, 41, 244) hsl(232, 94%, 49%) Blue
#08f4d3 rgb(8, 244, 211) hsl(172, 94%, 49%) Turquoise Blue
#d308f4 rgb(211, 8, 244) hsl(292, 94%, 49%) Electric Purple