#fefc02 ≈ Yellow
#fefc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 98.82% green and 0.78% blue; printed in CMYK it uses 0% cyan, 0.79% magenta, 99.21% yellow and 0.39% black. Its hue angle is 59.52°, with 99.21% saturation and 50.2% 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 19.14:1 (WCAG AAA). The closest named color is Yellow (#ffff00), ΔE 0.67.
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.907 |
Shades
#fefc02 mixed progressively with black.
Tints
#fefc02 mixed progressively with white.
Tones
#fefc02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fefc02 {
color: #fefc02;
}
.bg-fefc02 {
background-color: #fefc02;
color: #000000;
}
.border-fefc02 {
border: 2px solid #fefc02;
}
:root {
--color-primary: #fefc02;
--color-primary-rgb: 254 252 2;
--color-primary-hsl: 60 99% 50%;
}
.gradient-fefc02 {
background: linear-gradient(135deg, #fefc02, #82fe02);
}
.shadow-fefc02 {
box-shadow: 0 8px 24px rgb(254 252 2 / 0.35);
}
Yellow
#fefc02 rgb(254, 252, 2) hsl(60, 99%, 50%) Yellow
#0204fe rgb(2, 4, 254) hsl(240, 99%, 50%) Blue
#02fefc rgb(2, 254, 252) hsl(180, 99%, 50%) Aqua
#fc02fe rgb(252, 2, 254) hsl(300, 99%, 50%) Fuchsia