#f5ec97 ≈ Khaki
#f5ec97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.08% red, 92.55% green and 59.22% blue; printed in CMYK it uses 0% cyan, 3.67% magenta, 38.37% yellow and 3.92% black. Its hue angle is 54.26°, with 82.46% saturation and 77.65% 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 17.33:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.59.
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.8164 |
Shades
#f5ec97 mixed progressively with black.
Tints
#f5ec97 mixed progressively with white.
Tones
#f5ec97 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5ec97 {
color: #f5ec97;
}
.bg-f5ec97 {
background-color: #f5ec97;
color: #000000;
}
.border-f5ec97 {
border: 2px solid #f5ec97;
}
:root {
--color-primary: #f5ec97;
--color-primary-rgb: 245 236 151;
--color-primary-hsl: 54 82% 78%;
}
.gradient-f5ec97 {
background: linear-gradient(135deg, #f5ec97, #cff597);
}
.shadow-f5ec97 {
box-shadow: 0 8px 24px rgb(245 236 151 / 0.35);
}
Khaki
#f5ec97 rgb(245, 236, 151) hsl(54, 82%, 78%) Khaki
#97a0f5 rgb(151, 160, 245) hsl(234, 82%, 78%) Wild Blue Yonder
#97f5ec rgb(151, 245, 236) hsl(174, 82%, 78%) Celeste
#ec97f5 rgb(236, 151, 245) hsl(294, 82%, 78%) Violet