#ffef9d ≈ Khaki
#ffef9d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 93.73% green and 61.57% blue; printed in CMYK it uses 0% cyan, 6.27% magenta, 38.43% yellow and 0% black. Its hue angle is 50.2°, with 100% saturation and 80.78% 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.09:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.13.
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.8543 |
Shades
#ffef9d mixed progressively with black.
Tints
#ffef9d mixed progressively with white.
Tones
#ffef9d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffef9d {
color: #ffef9d;
}
.bg-ffef9d {
background-color: #ffef9d;
color: #000000;
}
.border-ffef9d {
border: 2px solid #ffef9d;
}
:root {
--color-primary: #ffef9d;
--color-primary-rgb: 255 239 157;
--color-primary-hsl: 50 100% 81%;
}
.gradient-ffef9d {
background: linear-gradient(135deg, #ffef9d, #deff9d);
}
.shadow-ffef9d {
box-shadow: 0 8px 24px rgb(255 239 157 / 0.35);
}
Khaki
#ffef9d rgb(255, 239, 157) hsl(50, 100%, 81%) Khaki
#9dadff rgb(157, 173, 255) hsl(230, 100%, 81%) Wild Blue Yonder
#9dffef rgb(157, 255, 239) hsl(170, 100%, 81%) Celeste
#ef9dff rgb(239, 157, 255) hsl(290, 100%, 81%) Mauve