#f2d30b ≈ Gold
#f2d30b 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 4.31% blue; printed in CMYK it uses 0% cyan, 12.81% magenta, 95.45% yellow and 5.1% black. Its hue angle is 51.95°, with 91.3% saturation and 49.61% 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:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.5.
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.6549 |
Shades
#f2d30b mixed progressively with black.
Tints
#f2d30b mixed progressively with white.
Tones
#f2d30b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d30b {
color: #f2d30b;
}
.bg-f2d30b {
background-color: #f2d30b;
color: #000000;
}
.border-f2d30b {
border: 2px solid #f2d30b;
}
:root {
--color-primary: #f2d30b;
--color-primary-rgb: 242 211 11;
--color-primary-hsl: 52 91% 50%;
}
.gradient-f2d30b {
background: linear-gradient(135deg, #f2d30b, #9df20b);
}
.shadow-f2d30b {
box-shadow: 0 8px 24px rgb(242 211 11 / 0.35);
}
Gold
#f2d30b rgb(242, 211, 11) hsl(52, 91%, 50%) Gold
#0b2af2 rgb(11, 42, 242) hsl(232, 91%, 50%) Blue
#0bf2d3 rgb(11, 242, 211) hsl(172, 91%, 50%) Turquoise Blue
#d30bf2 rgb(211, 11, 242) hsl(292, 91%, 50%) Electric Purple