#ffef9c ≈ Khaki
#ffef9c 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.18% blue; printed in CMYK it uses 0% cyan, 6.27% magenta, 38.82% yellow and 0% black. Its hue angle is 50.3°, with 100% saturation and 80.59% 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.08:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.04.
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.8539 |
Shades
#ffef9c mixed progressively with black.
Tints
#ffef9c mixed progressively with white.
Tones
#ffef9c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffef9c {
color: #ffef9c;
}
.bg-ffef9c {
background-color: #ffef9c;
color: #000000;
}
.border-ffef9c {
border: 2px solid #ffef9c;
}
:root {
--color-primary: #ffef9c;
--color-primary-rgb: 255 239 156;
--color-primary-hsl: 50 100% 81%;
}
.gradient-ffef9c {
background: linear-gradient(135deg, #ffef9c, #deff9c);
}
.shadow-ffef9c {
box-shadow: 0 8px 24px rgb(255 239 156 / 0.35);
}
Khaki
#ffef9c rgb(255, 239, 156) hsl(50, 100%, 81%) Khaki
#9cacff rgb(156, 172, 255) hsl(230, 100%, 81%) Wild Blue Yonder
#9cffef rgb(156, 255, 239) hsl(170, 100%, 81%) Celeste
#ef9cff rgb(239, 156, 255) hsl(290, 100%, 81%) Violet