#fec006 ≈ Amber
#fec006 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 2.35% blue; printed in CMYK it uses 0% cyan, 24.41% magenta, 97.64% yellow and 0.39% black. Its hue angle is 45°, with 99.2% saturation and 50.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 12.76:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 0.51.
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.5878 |
Shades
#fec006 mixed progressively with black.
Tints
#fec006 mixed progressively with white.
Tones
#fec006 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fec006 {
color: #fec006;
}
.bg-fec006 {
background-color: #fec006;
color: #000000;
}
.border-fec006 {
border: 2px solid #fec006;
}
:root {
--color-primary: #fec006;
--color-primary-rgb: 254 192 6;
--color-primary-hsl: 45 99% 51%;
}
.gradient-fec006 {
background: linear-gradient(135deg, #fec006, #c0fe06);
}
.shadow-fec006 {
box-shadow: 0 8px 24px rgb(254 192 6 / 0.35);
}
Amber
#fec006 rgb(254, 192, 6) hsl(45, 99%, 51%) Amber
#0644fe rgb(6, 68, 254) hsl(225, 99%, 51%) Majorelle Blue
#06fec0 rgb(6, 254, 192) hsl(165, 99%, 51%) Aquamarine
#c006fe rgb(192, 6, 254) hsl(285, 99%, 51%) Electric Purple