#f2eb74 ≈ Khaki
#f2eb74 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 92.16% green and 45.49% blue; printed in CMYK it uses 0% cyan, 2.89% magenta, 52.07% yellow and 5.1% black. Its hue angle is 56.67°, with 82.89% saturation and 70.2% 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 16.91:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 4.1.
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.7955 |
Shades
#f2eb74 mixed progressively with black.
Tints
#f2eb74 mixed progressively with white.
Tones
#f2eb74 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2eb74 {
color: #f2eb74;
}
.bg-f2eb74 {
background-color: #f2eb74;
color: #000000;
}
.border-f2eb74 {
border: 2px solid #f2eb74;
}
:root {
--color-primary: #f2eb74;
--color-primary-rgb: 242 235 116;
--color-primary-hsl: 57 83% 70%;
}
.gradient-f2eb74 {
background: linear-gradient(135deg, #f2eb74, #baf274);
}
.shadow-f2eb74 {
box-shadow: 0 8px 24px rgb(242 235 116 / 0.35);
}
Khaki
#f2eb74 rgb(242, 235, 116) hsl(57, 83%, 70%) Khaki
#747bf2 rgb(116, 123, 242) hsl(237, 83%, 70%) Medium Slate Blue
#74f2eb rgb(116, 242, 235) hsl(177, 83%, 70%) Electric Blue
#eb74f2 rgb(235, 116, 242) hsl(297, 83%, 70%) Violet