#f2d31c ≈ Gold
#f2d31c 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.75% green and 10.98% blue; printed in CMYK it uses 0% cyan, 12.81% magenta, 88.43% yellow and 5.1% black. Its hue angle is 51.31°, with 89.17% saturation and 52.94% 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.11:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.6.
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.6555 |
Shades
#f2d31c mixed progressively with black.
Tints
#f2d31c mixed progressively with white.
Tones
#f2d31c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d31c {
color: #f2d31c;
}
.bg-f2d31c {
background-color: #f2d31c;
color: #000000;
}
.border-f2d31c {
border: 2px solid #f2d31c;
}
:root {
--color-primary: #f2d31c;
--color-primary-rgb: 242 211 28;
--color-primary-hsl: 51 89% 53%;
}
.gradient-f2d31c {
background: linear-gradient(135deg, #f2d31c, #a6f21c);
}
.shadow-f2d31c {
box-shadow: 0 8px 24px rgb(242 211 28 / 0.35);
}
Gold
#f2d31c rgb(242, 211, 28) hsl(51, 89%, 53%) Gold
#1c3bf2 rgb(28, 59, 242) hsl(231, 89%, 53%) Han Purple
#1cf2d3 rgb(28, 242, 211) hsl(171, 89%, 53%) Turquoise Blue
#d31cf2 rgb(211, 28, 242) hsl(291, 89%, 53%) Electric Purple