#f7dc0b ≈ Golden Yellow
#f7dc0b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.86% red, 86.27% green and 4.31% blue; printed in CMYK it uses 0% cyan, 10.93% magenta, 95.55% yellow and 3.14% black. Its hue angle is 53.14°, with 93.65% saturation and 50.59% 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 15.2:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 1.48.
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.7098 |
Shades
#f7dc0b mixed progressively with black.
Tints
#f7dc0b mixed progressively with white.
Tones
#f7dc0b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f7dc0b {
color: #f7dc0b;
}
.bg-f7dc0b {
background-color: #f7dc0b;
color: #000000;
}
.border-f7dc0b {
border: 2px solid #f7dc0b;
}
:root {
--color-primary: #f7dc0b;
--color-primary-rgb: 247 220 11;
--color-primary-hsl: 53 94% 51%;
}
.gradient-f7dc0b {
background: linear-gradient(135deg, #f7dc0b, #9cf70b);
}
.shadow-f7dc0b {
box-shadow: 0 8px 24px rgb(247 220 11 / 0.35);
}
Golden Yellow
#f7dc0b rgb(247, 220, 11) hsl(53, 94%, 51%) Golden Yellow
#0b26f7 rgb(11, 38, 247) hsl(233, 94%, 51%) Blue
#0bf7dc rgb(11, 247, 220) hsl(173, 94%, 51%) Turquoise Blue
#dc0bf7 rgb(220, 11, 247) hsl(293, 94%, 51%) Electric Purple