#f4ec79 ≈ Khaki
#f4ec79 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 95.69% red, 92.55% green and 47.45% blue; printed in CMYK it uses 0% cyan, 3.28% magenta, 50.41% yellow and 4.31% black. Its hue angle is 56.1°, with 84.83% saturation and 71.57% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 17.12:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.65.
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.806 |
Shades
#f4ec79 mixed progressively with black.
Tints
#f4ec79 mixed progressively with white.
Tones
#f4ec79 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4ec79 {
color: #f4ec79;
}
.bg-f4ec79 {
background-color: #f4ec79;
color: #000000;
}
.border-f4ec79 {
border: 2px solid #f4ec79;
}
:root {
--color-primary: #f4ec79;
--color-primary-rgb: 244 236 121;
--color-primary-hsl: 56 85% 72%;
}
.gradient-f4ec79 {
background: linear-gradient(135deg, #f4ec79, #bef479);
}
.shadow-f4ec79 {
box-shadow: 0 8px 24px rgb(244 236 121 / 0.35);
}
Khaki
#f4ec79 rgb(244, 236, 121) hsl(56, 85%, 72%) Khaki
#7981f4 rgb(121, 129, 244) hsl(236, 85%, 72%) Medium Slate Blue
#79f4ec rgb(121, 244, 236) hsl(176, 85%, 72%) Electric Blue
#ec79f4 rgb(236, 121, 244) hsl(296, 85%, 72%) Violet