#fef197 ≈ Khaki
#fef197 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.51% green and 59.22% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 40.55% yellow and 0.39% black. Its hue angle is 52.43°, with 98.1% saturation and 79.41% 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.24:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.6.
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.8622 |
Shades
#fef197 mixed progressively with black.
Tints
#fef197 mixed progressively with white.
Tones
#fef197 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef197 {
color: #fef197;
}
.bg-fef197 {
background-color: #fef197;
color: #000000;
}
.border-fef197 {
border: 2px solid #fef197;
}
:root {
--color-primary: #fef197;
--color-primary-rgb: 254 241 151;
--color-primary-hsl: 52 98% 79%;
}
.gradient-fef197 {
background: linear-gradient(135deg, #fef197, #d7fe97);
}
.shadow-fef197 {
box-shadow: 0 8px 24px rgb(254 241 151 / 0.35);
}
Khaki
#fef197 rgb(254, 241, 151) hsl(52, 98%, 79%) Khaki
#97a4fe rgb(151, 164, 254) hsl(232, 98%, 79%) Wild Blue Yonder
#97fef1 rgb(151, 254, 241) hsl(172, 98%, 79%) Celeste
#f197fe rgb(241, 151, 254) hsl(292, 98%, 79%) Violet