#fdf28f ≈ Khaki
#fdf28f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.22% red, 94.9% green and 56.08% blue; printed in CMYK it uses 0% cyan, 4.35% magenta, 43.48% yellow and 0.78% black. Its hue angle is 54°, with 96.49% saturation and 77.65% 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.27:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.84.
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.8637 |
Shades
#fdf28f mixed progressively with black.
Tints
#fdf28f mixed progressively with white.
Tones
#fdf28f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fdf28f {
color: #fdf28f;
}
.bg-fdf28f {
background-color: #fdf28f;
color: #000000;
}
.border-fdf28f {
border: 2px solid #fdf28f;
}
:root {
--color-primary: #fdf28f;
--color-primary-rgb: 253 242 143;
--color-primary-hsl: 54 96% 78%;
}
.gradient-fdf28f {
background: linear-gradient(135deg, #fdf28f, #d1fd8f);
}
.shadow-fdf28f {
box-shadow: 0 8px 24px rgb(253 242 143 / 0.35);
}
Khaki
#fdf28f rgb(253, 242, 143) hsl(54, 96%, 78%) Khaki
#8f9afd rgb(143, 154, 253) hsl(234, 96%, 78%) Cornflower Blue
#8ffdf2 rgb(143, 253, 242) hsl(174, 96%, 78%) Celeste
#f28ffd rgb(242, 143, 253) hsl(294, 96%, 78%) Violet