#f2e178 ≈ Flax
#f2e178 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 88.24% green and 47.06% blue; printed in CMYK it uses 0% cyan, 7.02% magenta, 50.41% yellow and 5.1% black. Its hue angle is 51.64°, with 82.43% saturation and 70.98% 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 15.82:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 2.4.
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.7408 |
Shades
#f2e178 mixed progressively with black.
Tints
#f2e178 mixed progressively with white.
Tones
#f2e178 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2e178 {
color: #f2e178;
}
.bg-f2e178 {
background-color: #f2e178;
color: #000000;
}
.border-f2e178 {
border: 2px solid #f2e178;
}
:root {
--color-primary: #f2e178;
--color-primary-rgb: 242 225 120;
--color-primary-hsl: 52 82% 71%;
}
.gradient-f2e178 {
background: linear-gradient(135deg, #f2e178, #c6f278);
}
.shadow-f2e178 {
box-shadow: 0 8px 24px rgb(242 225 120 / 0.35);
}
Flax
#f2e178 rgb(242, 225, 120) hsl(52, 82%, 71%) Flax
#7889f2 rgb(120, 137, 242) hsl(232, 82%, 71%) Cornflower Blue
#78f2e1 rgb(120, 242, 225) hsl(172, 82%, 71%) Turquoise
#e178f2 rgb(225, 120, 242) hsl(292, 82%, 71%) Heliotrope