#fec031 ≈ Amber
#fec031 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 99.61% red, 75.29% green and 19.22% blue; printed in CMYK it uses 0% cyan, 24.41% magenta, 80.71% yellow and 0.39% black. Its hue angle is 41.85°, with 99.03% saturation and 59.41% 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 12.8:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5899 |
Shades
#fec031 mixed progressively with black.
Tints
#fec031 mixed progressively with white.
Tones
#fec031 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fec031 {
color: #fec031;
}
.bg-fec031 {
background-color: #fec031;
color: #000000;
}
.border-fec031 {
border: 2px solid #fec031;
}
:root {
--color-primary: #fec031;
--color-primary-rgb: 254 192 49;
--color-primary-hsl: 42 99% 59%;
}
.gradient-fec031 {
background: linear-gradient(135deg, #fec031, #d6fe31);
}
.shadow-fec031 {
box-shadow: 0 8px 24px rgb(254 192 49 / 0.35);
}
Amber
#fec031 rgb(254, 192, 49) hsl(42, 99%, 59%) Amber
#316ffe rgb(49, 111, 254) hsl(222, 99%, 59%) Brandeis Blue
#31fec0 rgb(49, 254, 192) hsl(162, 99%, 59%) Aquamarine
#c031fe rgb(192, 49, 254) hsl(282, 99%, 59%) Electric Purple