#ffec81 ≈ Khaki
#ffec81 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 92.55% green and 50.59% blue; printed in CMYK it uses 0% cyan, 7.45% magenta, 49.41% yellow and 0% black. Its hue angle is 50.95°, with 100% saturation and 75.29% 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.57:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.72.
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.8284 |
Shades
#ffec81 mixed progressively with black.
Tints
#ffec81 mixed progressively with white.
Tones
#ffec81 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffec81 {
color: #ffec81;
}
.bg-ffec81 {
background-color: #ffec81;
color: #000000;
}
.border-ffec81 {
border: 2px solid #ffec81;
}
:root {
--color-primary: #ffec81;
--color-primary-rgb: 255 236 129;
--color-primary-hsl: 51 100% 75%;
}
.gradient-ffec81 {
background: linear-gradient(135deg, #ffec81, #d3ff81);
}
.shadow-ffec81 {
box-shadow: 0 8px 24px rgb(255 236 129 / 0.35);
}
Khaki
#ffec81 rgb(255, 236, 129) hsl(51, 100%, 75%) Khaki
#8194ff rgb(129, 148, 255) hsl(231, 100%, 75%) Cornflower Blue
#81ffec rgb(129, 255, 236) hsl(171, 100%, 75%) Turquoise Blue
#ec81ff rgb(236, 129, 255) hsl(291, 100%, 75%) Violet