#f2d20c ≈ Gold
#f2d20c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 82.35% green and 4.71% blue; printed in CMYK it uses 0% cyan, 13.22% magenta, 95.04% yellow and 5.1% black. Its hue angle is 51.65°, with 90.55% saturation and 49.8% 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:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.41.
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.65 |
Shades
#f2d20c mixed progressively with black.
Tints
#f2d20c mixed progressively with white.
Tones
#f2d20c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d20c {
color: #f2d20c;
}
.bg-f2d20c {
background-color: #f2d20c;
color: #000000;
}
.border-f2d20c {
border: 2px solid #f2d20c;
}
:root {
--color-primary: #f2d20c;
--color-primary-rgb: 242 210 12;
--color-primary-hsl: 52 91% 50%;
}
.gradient-f2d20c {
background: linear-gradient(135deg, #f2d20c, #9ff20c);
}
.shadow-f2d20c {
box-shadow: 0 8px 24px rgb(242 210 12 / 0.35);
}
Gold
#f2d20c rgb(242, 210, 12) hsl(52, 91%, 50%) Gold
#0c2cf2 rgb(12, 44, 242) hsl(232, 91%, 50%) Blue
#0cf2d2 rgb(12, 242, 210) hsl(172, 91%, 50%) Turquoise Blue
#d20cf2 rgb(210, 12, 242) hsl(292, 91%, 50%) Electric Purple