#fec00c ≈ Amber
#fec00c 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 4.71% blue; printed in CMYK it uses 0% cyan, 24.41% magenta, 95.28% yellow and 0.39% black. Its hue angle is 44.63°, with 99.18% saturation and 52.16% 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.76:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 0.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.588 |
Shades
#fec00c mixed progressively with black.
Tints
#fec00c mixed progressively with white.
Tones
#fec00c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fec00c {
color: #fec00c;
}
.bg-fec00c {
background-color: #fec00c;
color: #000000;
}
.border-fec00c {
border: 2px solid #fec00c;
}
:root {
--color-primary: #fec00c;
--color-primary-rgb: 254 192 12;
--color-primary-hsl: 45 99% 52%;
}
.gradient-fec00c {
background: linear-gradient(135deg, #fec00c, #c3fe0c);
}
.shadow-fec00c {
box-shadow: 0 8px 24px rgb(254 192 12 / 0.35);
}
Amber
#fec00c rgb(254, 192, 12) hsl(45, 99%, 52%) Amber
#0c4afe rgb(12, 74, 254) hsl(225, 99%, 52%) Majorelle Blue
#0cfec0 rgb(12, 254, 192) hsl(165, 99%, 52%) Aquamarine
#c00cfe rgb(192, 12, 254) hsl(285, 99%, 52%) Electric Purple