#f4ef7d ≈ Pastel Yellow
#f4ef7d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 95.69% red, 93.73% green and 49.02% blue; printed in CMYK it uses 0% cyan, 2.05% magenta, 48.77% yellow and 4.31% black. Its hue angle is 57.48°, with 84.4% saturation and 72.35% 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 17.49:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.54.
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.8245 |
Shades
#f4ef7d mixed progressively with black.
Tints
#f4ef7d mixed progressively with white.
Tones
#f4ef7d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4ef7d {
color: #f4ef7d;
}
.bg-f4ef7d {
background-color: #f4ef7d;
color: #000000;
}
.border-f4ef7d {
border: 2px solid #f4ef7d;
}
:root {
--color-primary: #f4ef7d;
--color-primary-rgb: 244 239 125;
--color-primary-hsl: 57 84% 72%;
}
.gradient-f4ef7d {
background: linear-gradient(135deg, #f4ef7d, #bdf47d);
}
.shadow-f4ef7d {
box-shadow: 0 8px 24px rgb(244 239 125 / 0.35);
}
Pastel Yellow
#f4ef7d rgb(244, 239, 125) hsl(57, 84%, 72%) Pastel Yellow
#7d82f4 rgb(125, 130, 244) hsl(237, 84%, 72%) Medium Slate Blue
#7df4ef rgb(125, 244, 239) hsl(177, 84%, 72%) Electric Blue
#ef7df4 rgb(239, 125, 244) hsl(297, 84%, 72%) Violet