#f2d404 ≈ Gold
#f2d404 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 83.14% green and 1.57% blue; printed in CMYK it uses 0% cyan, 12.4% magenta, 98.35% yellow and 5.1% black. Its hue angle is 52.44°, with 96.75% saturation and 48.24% 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.19:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.61.
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.6597 |
Shades
#f2d404 mixed progressively with black.
Tints
#f2d404 mixed progressively with white.
Tones
#f2d404 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d404 {
color: #f2d404;
}
.bg-f2d404 {
background-color: #f2d404;
color: #000000;
}
.border-f2d404 {
border: 2px solid #f2d404;
}
:root {
--color-primary: #f2d404;
--color-primary-rgb: 242 212 4;
--color-primary-hsl: 52 97% 48%;
}
.gradient-f2d404 {
background: linear-gradient(135deg, #f2d404, #99f204);
}
.shadow-f2d404 {
box-shadow: 0 8px 24px rgb(242 212 4 / 0.35);
}
Gold
#f2d404 rgb(242, 212, 4) hsl(52, 97%, 48%) Gold
#0422f2 rgb(4, 34, 242) hsl(232, 97%, 48%) Blue
#04f2d4 rgb(4, 242, 212) hsl(172, 97%, 48%) Turquoise Blue
#d404f2 rgb(212, 4, 242) hsl(292, 97%, 48%) Electric Purple