#f2e596 ≈ Khaki
#f2e596 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 89.8% green and 58.82% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 38.02% yellow and 5.1% black. Its hue angle is 51.52°, with 77.97% saturation and 76.86% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 16.42:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7712 |
Shades
#f2e596 mixed progressively with black.
Tints
#f2e596 mixed progressively with white.
Tones
#f2e596 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e596 {
color: #f2e596;
}
.bg-f2e596 {
background-color: #f2e596;
color: #000000;
}
.border-f2e596 {
border: 2px solid #f2e596;
}
:root {
--color-primary: #f2e596;
--color-primary-rgb: 242 229 150;
--color-primary-hsl: 52 78% 77%;
}
.gradient-f2e596 {
background: linear-gradient(135deg, #f2e596, #d1f296);
}
.shadow-f2e596 {
box-shadow: 0 8px 24px rgb(242 229 150 / 0.35);
}
Khaki
#f2e596 rgb(242, 229, 150) hsl(52, 78%, 77%) Khaki
#96a3f2 rgb(150, 163, 242) hsl(232, 78%, 77%) Wild Blue Yonder
#96f2e5 rgb(150, 242, 229) hsl(172, 78%, 77%) Celeste
#e596f2 rgb(229, 150, 242) hsl(292, 78%, 77%) Violet