#f8fc02 ≈ Yellow
#f8fc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 98.82% green and 0.78% blue; printed in CMYK it uses 1.59% cyan, 0% magenta, 99.21% yellow and 1.18% black. Its hue angle is 60.96°, with 98.43% 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 18.92:1 (WCAG AAA). The closest named color is Yellow (#ffff00), ΔE 1.14.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8958 |
Shades
#f8fc02 mixed progressively with black.
Tints
#f8fc02 mixed progressively with white.
Tones
#f8fc02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8fc02 {
color: #f8fc02;
}
.bg-f8fc02 {
background-color: #f8fc02;
color: #000000;
}
.border-f8fc02 {
border: 2px solid #f8fc02;
}
:root {
--color-primary: #f8fc02;
--color-primary-rgb: 248 252 2;
--color-primary-hsl: 61 98% 50%;
}
.gradient-f8fc02 {
background: linear-gradient(135deg, #f8fc02, #7bfc02);
}
.shadow-f8fc02 {
box-shadow: 0 8px 24px rgb(248 252 2 / 0.35);
}
Yellow
#f8fc02 rgb(248, 252, 2) hsl(61, 98%, 50%) Yellow
#0602fc rgb(6, 2, 252) hsl(241, 98%, 50%) Blue
#02f8fc rgb(2, 248, 252) hsl(181, 98%, 50%) Aqua
#fc02f8 rgb(252, 2, 248) hsl(301, 98%, 50%) Fuchsia