#f2e77a ≈ Khaki
#f2e77a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 90.59% green and 47.84% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 49.59% yellow and 5.1% black. Its hue angle is 54.5°, with 82.19% saturation and 71.37% 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.49:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.77.
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.7743 |
Shades
#f2e77a mixed progressively with black.
Tints
#f2e77a mixed progressively with white.
Tones
#f2e77a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e77a {
color: #f2e77a;
}
.bg-f2e77a {
background-color: #f2e77a;
color: #000000;
}
.border-f2e77a {
border: 2px solid #f2e77a;
}
:root {
--color-primary: #f2e77a;
--color-primary-rgb: 242 231 122;
--color-primary-hsl: 55 82% 71%;
}
.gradient-f2e77a {
background: linear-gradient(135deg, #f2e77a, #c1f27a);
}
.shadow-f2e77a {
box-shadow: 0 8px 24px rgb(242 231 122 / 0.35);
}
Khaki
#f2e77a rgb(242, 231, 122) hsl(55, 82%, 71%) Khaki
#7a85f2 rgb(122, 133, 242) hsl(235, 82%, 71%) Cornflower Blue
#7af2e7 rgb(122, 242, 231) hsl(175, 82%, 71%) Bright Turquoise
#e77af2 rgb(231, 122, 242) hsl(295, 82%, 71%) Violet