#f9e793 ≈ Khaki
#f9e793 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.65% red, 90.59% green and 57.65% blue; printed in CMYK it uses 0% cyan, 7.23% magenta, 40.96% yellow and 2.35% black. Its hue angle is 49.41°, with 89.47% 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 16.88:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.53.
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.794 |
Shades
#f9e793 mixed progressively with black.
Tints
#f9e793 mixed progressively with white.
Tones
#f9e793 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f9e793 {
color: #f9e793;
}
.bg-f9e793 {
background-color: #f9e793;
color: #000000;
}
.border-f9e793 {
border: 2px solid #f9e793;
}
:root {
--color-primary: #f9e793;
--color-primary-rgb: 249 231 147;
--color-primary-hsl: 49 89% 78%;
}
.gradient-f9e793 {
background: linear-gradient(135deg, #f9e793, #d8f993);
}
.shadow-f9e793 {
box-shadow: 0 8px 24px rgb(249 231 147 / 0.35);
}
Khaki
#f9e793 rgb(249, 231, 147) hsl(49, 89%, 78%) Khaki
#93a5f9 rgb(147, 165, 249) hsl(229, 89%, 78%) Cornflower Blue
#93f9e7 rgb(147, 249, 231) hsl(169, 89%, 78%) Magic Mint
#e793f9 rgb(231, 147, 249) hsl(289, 89%, 78%) Violet