#fef80c ≈ Lemon
#fef80c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 97.25% green and 4.71% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 95.28% yellow and 0.39% black. Its hue angle is 58.51°, with 99.18% saturation and 52.16% 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.65:1 (WCAG AAA). The closest named color is Lemon (#fff700), ΔE 0.49.
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.8823 |
Shades
#fef80c mixed progressively with black.
Tints
#fef80c mixed progressively with white.
Tones
#fef80c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef80c {
color: #fef80c;
}
.bg-fef80c {
background-color: #fef80c;
color: #000000;
}
.border-fef80c {
border: 2px solid #fef80c;
}
:root {
--color-primary: #fef80c;
--color-primary-rgb: 254 248 12;
--color-primary-hsl: 59 99% 52%;
}
.gradient-fef80c {
background: linear-gradient(135deg, #fef80c, #8bfe0c);
}
.shadow-fef80c {
box-shadow: 0 8px 24px rgb(254 248 12 / 0.35);
}
Lemon
#fef80c rgb(254, 248, 12) hsl(59, 99%, 52%) Lemon
#0c12fe rgb(12, 18, 254) hsl(239, 99%, 52%) Blue
#0cfef8 rgb(12, 254, 248) hsl(179, 99%, 52%) Aqua
#f80cfe rgb(248, 12, 254) hsl(299, 99%, 52%) Fuchsia