#f2d115 ≈ Gold
#f2d115 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 81.96% green and 8.24% blue; printed in CMYK it uses 0% cyan, 13.64% magenta, 91.32% yellow and 5.1% black. Its hue angle is 51.04°, with 89.47% saturation and 51.57% 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 13.91:1 (WCAG AAA). The closest named color is Gold (#ffd700), ΔE 2.42.
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.6453 |
Shades
#f2d115 mixed progressively with black.
Tints
#f2d115 mixed progressively with white.
Tones
#f2d115 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2d115 {
color: #f2d115;
}
.bg-f2d115 {
background-color: #f2d115;
color: #000000;
}
.border-f2d115 {
border: 2px solid #f2d115;
}
:root {
--color-primary: #f2d115;
--color-primary-rgb: 242 209 21;
--color-primary-hsl: 51 89% 52%;
}
.gradient-f2d115 {
background: linear-gradient(135deg, #f2d115, #a5f215);
}
.shadow-f2d115 {
box-shadow: 0 8px 24px rgb(242 209 21 / 0.35);
}
Gold
#f2d115 rgb(242, 209, 21) hsl(51, 89%, 52%) Gold
#1536f2 rgb(21, 54, 242) hsl(231, 89%, 52%) Han Purple
#15f2d1 rgb(21, 242, 209) hsl(171, 89%, 52%) Turquoise Blue
#d115f2 rgb(209, 21, 242) hsl(291, 89%, 52%) Electric Purple