#fef082 ≈ Khaki
#fef082 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 94.12% green and 50.98% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 48.82% yellow and 0.39% black. Its hue angle is 53.23°, with 98.41% saturation and 75.29% 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 18:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 3.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffff99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.85 |
Shades
#fef082 mixed progressively with black.
Tints
#fef082 mixed progressively with white.
Tones
#fef082 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fef082 {
color: #fef082;
}
.bg-fef082 {
background-color: #fef082;
color: #000000;
}
.border-fef082 {
border: 2px solid #fef082;
}
:root {
--color-primary: #fef082;
--color-primary-rgb: 254 240 130;
--color-primary-hsl: 53 98% 75%;
}
.gradient-fef082 {
background: linear-gradient(135deg, #fef082, #cefe82);
}
.shadow-fef082 {
box-shadow: 0 8px 24px rgb(254 240 130 / 0.35);
}
Khaki
#fef082 rgb(254, 240, 130) hsl(53, 98%, 75%) Khaki
#8290fe rgb(130, 144, 254) hsl(233, 98%, 75%) Cornflower Blue
#82fef0 rgb(130, 254, 240) hsl(173, 98%, 75%) Turquoise Blue
#f082fe rgb(240, 130, 254) hsl(293, 98%, 75%) Violet