#f0ec79 ≈ Khaki
#f0ec79 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 92.55% green and 47.45% blue; printed in CMYK it uses 0% cyan, 1.67% magenta, 49.58% yellow and 5.88% black. Its hue angle is 57.98°, with 79.87% saturation and 70.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 brand accents. Black text on this color reaches a contrast ratio of 16.98:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.799 |
Shades
#f0ec79 mixed progressively with black.
Tints
#f0ec79 mixed progressively with white.
Tones
#f0ec79 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0ec79 {
color: #f0ec79;
}
.bg-f0ec79 {
background-color: #f0ec79;
color: #000000;
}
.border-f0ec79 {
border: 2px solid #f0ec79;
}
:root {
--color-primary: #f0ec79;
--color-primary-rgb: 240 236 121;
--color-primary-hsl: 58 80% 71%;
}
.gradient-f0ec79 {
background: linear-gradient(135deg, #f0ec79, #b8f079);
}
.shadow-f0ec79 {
box-shadow: 0 8px 24px rgb(240 236 121 / 0.35);
}
Khaki
#f0ec79 rgb(240, 236, 121) hsl(58, 80%, 71%) Khaki
#797df0 rgb(121, 125, 240) hsl(238, 80%, 71%) Medium Slate Blue
#79f0ec rgb(121, 240, 236) hsl(178, 80%, 71%) Electric Blue
#ec79f0 rgb(236, 121, 240) hsl(298, 80%, 71%) Violet