#f5e97f ≈ Khaki
#f5e97f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.08% red, 91.37% green and 49.8% blue; printed in CMYK it uses 0% cyan, 4.9% magenta, 48.16% yellow and 3.92% black. Its hue angle is 53.9°, with 85.51% saturation and 72.94% 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 16.84:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.47.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7922 |
Shades
#f5e97f mixed progressively with black.
Tints
#f5e97f mixed progressively with white.
Tones
#f5e97f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5e97f {
color: #f5e97f;
}
.bg-f5e97f {
background-color: #f5e97f;
color: #000000;
}
.border-f5e97f {
border: 2px solid #f5e97f;
}
:root {
--color-primary: #f5e97f;
--color-primary-rgb: 245 233 127;
--color-primary-hsl: 54 86% 73%;
}
.gradient-f5e97f {
background: linear-gradient(135deg, #f5e97f, #c6f57f);
}
.shadow-f5e97f {
box-shadow: 0 8px 24px rgb(245 233 127 / 0.35);
}
Khaki
#f5e97f rgb(245, 233, 127) hsl(54, 86%, 73%) Khaki
#7f8bf5 rgb(127, 139, 245) hsl(234, 86%, 73%) Cornflower Blue
#7ff5e9 rgb(127, 245, 233) hsl(174, 86%, 73%) Turquoise Blue
#e97ff5 rgb(233, 127, 245) hsl(294, 86%, 73%) Violet