#ffc004 ≈ Amber
#ffc004 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 75.29% green and 1.57% blue; printed in CMYK it uses 0% cyan, 24.71% magenta, 98.43% yellow and 0% black. Its hue angle is 44.94°, with 100% saturation and 50.78% 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.79:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 0.32.
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.5897 |
Shades
#ffc004 mixed progressively with black.
Tints
#ffc004 mixed progressively with white.
Tones
#ffc004 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffc004 {
color: #ffc004;
}
.bg-ffc004 {
background-color: #ffc004;
color: #000000;
}
.border-ffc004 {
border: 2px solid #ffc004;
}
:root {
--color-primary: #ffc004;
--color-primary-rgb: 255 192 4;
--color-primary-hsl: 45 100% 51%;
}
.gradient-ffc004 {
background: linear-gradient(135deg, #ffc004, #c0ff04);
}
.shadow-ffc004 {
box-shadow: 0 8px 24px rgb(255 192 4 / 0.35);
}
Amber
#ffc004 rgb(255, 192, 4) hsl(45, 100%, 51%) Amber
#0443ff rgb(4, 67, 255) hsl(225, 100%, 51%) Majorelle Blue
#04ffc0 rgb(4, 255, 192) hsl(165, 100%, 51%) Aquamarine
#c004ff rgb(192, 4, 255) hsl(285, 100%, 51%) Electric Purple