#f2eb7d ≈ Khaki
#f2eb7d 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 49.02% blue; printed in CMYK it uses 0% cyan, 2.89% magenta, 48.35% yellow and 5.1% black. Its hue angle is 56.41°, with 81.82% saturation and 71.96% 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.95:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.03.
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.7977 |
Shades
#f2eb7d mixed progressively with black.
Tints
#f2eb7d mixed progressively with white.
Tones
#f2eb7d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2eb7d {
color: #f2eb7d;
}
.bg-f2eb7d {
background-color: #f2eb7d;
color: #000000;
}
.border-f2eb7d {
border: 2px solid #f2eb7d;
}
:root {
--color-primary: #f2eb7d;
--color-primary-rgb: 242 235 125;
--color-primary-hsl: 56 82% 72%;
}
.gradient-f2eb7d {
background: linear-gradient(135deg, #f2eb7d, #bef27d);
}
.shadow-f2eb7d {
box-shadow: 0 8px 24px rgb(242 235 125 / 0.35);
}
Khaki
#f2eb7d rgb(242, 235, 125) hsl(56, 82%, 72%) Khaki
#7d84f2 rgb(125, 132, 242) hsl(236, 82%, 72%) Medium Slate Blue
#7df2eb rgb(125, 242, 235) hsl(176, 82%, 72%) Electric Blue
#eb7df2 rgb(235, 125, 242) hsl(296, 82%, 72%) Violet