#f0e68c Khaki
#f0e68c (Khaki) is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 90.2% green and 54.9% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 41.67% yellow and 5.88% black. Its hue angle is 54°, with 76.92% saturation and 74.51% 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 brand accents. Black text on this color reaches a contrast ratio of 16.4:1 (WCAG AAA).
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.7701 |
Shades
#f0e68c mixed progressively with black.
Tints
#f0e68c mixed progressively with white.
Tones
#f0e68c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0e68c {
color: #f0e68c;
}
.bg-f0e68c {
background-color: #f0e68c;
color: #000000;
}
.border-f0e68c {
border: 2px solid #f0e68c;
}
:root {
--color-primary: #f0e68c;
--color-primary-rgb: 240 230 140;
--color-primary-hsl: 54 77% 75%;
}
.gradient-f0e68c {
background: linear-gradient(135deg, #f0e68c, #c8f08c);
}
.shadow-f0e68c {
box-shadow: 0 8px 24px rgb(240 230 140 / 0.35);
}
Khaki
#f0e68c rgb(240, 230, 140) hsl(54, 77%, 75%) Khaki
#8c96f0 rgb(140, 150, 240) hsl(234, 77%, 75%) Cornflower Blue
#8cf0e6 rgb(140, 240, 230) hsl(174, 77%, 75%) Electric Blue
#e68cf0 rgb(230, 140, 240) hsl(294, 77%, 75%) Violet