#f2d30f ≈ Gold
#f2d30f 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 5.88% blue; printed in CMYK it uses 0% cyan, 12.81% magenta, 93.8% yellow and 5.1% black. Its hue angle is 51.81°, with 89.72% saturation and 50.39% 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.51.
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.655 |
Shades
#f2d30f mixed progressively with black.
Tints
#f2d30f mixed progressively with white.
Tones
#f2d30f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d30f {
color: #f2d30f;
}
.bg-f2d30f {
background-color: #f2d30f;
color: #000000;
}
.border-f2d30f {
border: 2px solid #f2d30f;
}
:root {
--color-primary: #f2d30f;
--color-primary-rgb: 242 211 15;
--color-primary-hsl: 52 90% 50%;
}
.gradient-f2d30f {
background: linear-gradient(135deg, #f2d30f, #9ff20f);
}
.shadow-f2d30f {
box-shadow: 0 8px 24px rgb(242 211 15 / 0.35);
}
Gold
#f2d30f rgb(242, 211, 15) hsl(52, 90%, 50%) Gold
#0f2ef2 rgb(15, 46, 242) hsl(232, 90%, 50%) Blue
#0ff2d3 rgb(15, 242, 211) hsl(172, 90%, 50%) Turquoise Blue
#d30ff2 rgb(211, 15, 242) hsl(292, 90%, 50%) Electric Purple