#ffeb8f ≈ Khaki
#ffeb8f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 92.16% green and 56.08% blue; printed in CMYK it uses 0% cyan, 7.84% magenta, 43.92% yellow and 0% black. Its hue angle is 49.29°, with 100% saturation and 78.04% 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.53:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.09.
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.8266 |
Shades
#ffeb8f mixed progressively with black.
Tints
#ffeb8f mixed progressively with white.
Tones
#ffeb8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffeb8f {
color: #ffeb8f;
}
.bg-ffeb8f {
background-color: #ffeb8f;
color: #000000;
}
.border-ffeb8f {
border: 2px solid #ffeb8f;
}
:root {
--color-primary: #ffeb8f;
--color-primary-rgb: 255 235 143;
--color-primary-hsl: 49 100% 78%;
}
.gradient-ffeb8f {
background: linear-gradient(135deg, #ffeb8f, #dbff8f);
}
.shadow-ffeb8f {
box-shadow: 0 8px 24px rgb(255 235 143 / 0.35);
}
Khaki
#ffeb8f rgb(255, 235, 143) hsl(49, 100%, 78%) Khaki
#8fa3ff rgb(143, 163, 255) hsl(229, 100%, 78%) Cornflower Blue
#8fffeb rgb(143, 255, 235) hsl(169, 100%, 78%) Turquoise Blue
#eb8fff rgb(235, 143, 255) hsl(289, 100%, 78%) Violet