#f2e37b ≈ Khaki
#f2e37b 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.02% green and 48.24% blue; printed in CMYK it uses 0% cyan, 6.2% magenta, 49.17% yellow and 5.1% black. Its hue angle is 52.44°, with 82.07% 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 16.05:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.57.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7525 |
Shades
#f2e37b mixed progressively with black.
Tints
#f2e37b mixed progressively with white.
Tones
#f2e37b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e37b {
color: #f2e37b;
}
.bg-f2e37b {
background-color: #f2e37b;
color: #000000;
}
.border-f2e37b {
border: 2px solid #f2e37b;
}
:root {
--color-primary: #f2e37b;
--color-primary-rgb: 242 227 123;
--color-primary-hsl: 52 82% 72%;
}
.gradient-f2e37b {
background: linear-gradient(135deg, #f2e37b, #c5f27b);
}
.shadow-f2e37b {
box-shadow: 0 8px 24px rgb(242 227 123 / 0.35);
}
Khaki
#f2e37b rgb(242, 227, 123) hsl(52, 82%, 72%) Khaki
#7b8af2 rgb(123, 138, 242) hsl(232, 82%, 72%) Cornflower Blue
#7bf2e3 rgb(123, 242, 227) hsl(172, 82%, 72%) Turquoise
#e37bf2 rgb(227, 123, 242) hsl(292, 82%, 72%) Violet