#fef09a ≈ Khaki
#fef09a 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 60.39% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 39.37% yellow and 0.39% black. Its hue angle is 51.6°, with 98.04% saturation and 80% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 18.14:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.68.
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.8572 |
Shades
#fef09a mixed progressively with black.
Tints
#fef09a mixed progressively with white.
Tones
#fef09a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef09a {
color: #fef09a;
}
.bg-fef09a {
background-color: #fef09a;
color: #000000;
}
.border-fef09a {
border: 2px solid #fef09a;
}
:root {
--color-primary: #fef09a;
--color-primary-rgb: 254 240 154;
--color-primary-hsl: 52 98% 80%;
}
.gradient-fef09a {
background: linear-gradient(135deg, #fef09a, #dafe9a);
}
.shadow-fef09a {
box-shadow: 0 8px 24px rgb(254 240 154 / 0.35);
}
Khaki
#fef09a rgb(254, 240, 154) hsl(52, 98%, 80%) Khaki
#9aa8fe rgb(154, 168, 254) hsl(232, 98%, 80%) Wild Blue Yonder
#9afef0 rgb(154, 254, 240) hsl(172, 98%, 80%) Celeste
#f09afe rgb(240, 154, 254) hsl(292, 98%, 80%) Violet