#ffc107 ≈ Amber
#ffc107 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 75.69% green and 2.75% blue; printed in CMYK it uses 0% cyan, 24.31% magenta, 97.25% yellow and 0% black. Its hue angle is 45°, with 100% saturation and 51.37% 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.88:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 0.64.
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.5942 |
Shades
#ffc107 mixed progressively with black.
Tints
#ffc107 mixed progressively with white.
Tones
#ffc107 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffc107 {
color: #ffc107;
}
.bg-ffc107 {
background-color: #ffc107;
color: #000000;
}
.border-ffc107 {
border: 2px solid #ffc107;
}
:root {
--color-primary: #ffc107;
--color-primary-rgb: 255 193 7;
--color-primary-hsl: 45 100% 51%;
}
.gradient-ffc107 {
background: linear-gradient(135deg, #ffc107, #c1ff07);
}
.shadow-ffc107 {
box-shadow: 0 8px 24px rgb(255 193 7 / 0.35);
}
Amber
#ffc107 rgb(255, 193, 7) hsl(45, 100%, 51%) Amber
#0745ff rgb(7, 69, 255) hsl(225, 100%, 51%) Majorelle Blue
#07ffc1 rgb(7, 255, 193) hsl(165, 100%, 51%) Aquamarine
#c107ff rgb(193, 7, 255) hsl(285, 100%, 51%) Electric Purple