#fef080 ≈ Khaki
#fef080 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 94.12% green and 50.2% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 49.61% yellow and 0.39% black. Its hue angle is 53.33°, with 98.44% saturation and 74.9% 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 17.99:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.8495 |
Shades
#fef080 mixed progressively with black.
Tints
#fef080 mixed progressively with white.
Tones
#fef080 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef080 {
color: #fef080;
}
.bg-fef080 {
background-color: #fef080;
color: #000000;
}
.border-fef080 {
border: 2px solid #fef080;
}
:root {
--color-primary: #fef080;
--color-primary-rgb: 254 240 128;
--color-primary-hsl: 53 98% 75%;
}
.gradient-fef080 {
background: linear-gradient(135deg, #fef080, #cdfe80);
}
.shadow-fef080 {
box-shadow: 0 8px 24px rgb(254 240 128 / 0.35);
}
Khaki
#fef080 rgb(254, 240, 128) hsl(53, 98%, 75%) Khaki
#808efe rgb(128, 142, 254) hsl(233, 98%, 75%) Cornflower Blue
#80fef0 rgb(128, 254, 240) hsl(173, 98%, 75%) Turquoise Blue
#f080fe rgb(240, 128, 254) hsl(293, 98%, 75%) Fuchsia Pink