#ffc021 ≈ Amber
#ffc021 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 12.94% blue; printed in CMYK it uses 0% cyan, 24.71% magenta, 87.06% yellow and 0% black. Its hue angle is 42.97°, with 100% saturation and 56.47% 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.81:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.
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.5907 |
Shades
#ffc021 mixed progressively with black.
Tints
#ffc021 mixed progressively with white.
Tones
#ffc021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffc021 {
color: #ffc021;
}
.bg-ffc021 {
background-color: #ffc021;
color: #000000;
}
.border-ffc021 {
border: 2px solid #ffc021;
}
:root {
--color-primary: #ffc021;
--color-primary-rgb: 255 192 33;
--color-primary-hsl: 43 100% 56%;
}
.gradient-ffc021 {
background: linear-gradient(135deg, #ffc021, #cfff21);
}
.shadow-ffc021 {
box-shadow: 0 8px 24px rgb(255 192 33 / 0.35);
}
Amber
#ffc021 rgb(255, 192, 33) hsl(43, 100%, 56%) Amber
#2160ff rgb(33, 96, 255) hsl(223, 100%, 56%) Ultramarine Blue
#21ffc0 rgb(33, 255, 192) hsl(163, 100%, 56%) Aquamarine
#c021ff rgb(192, 33, 255) hsl(283, 100%, 56%) Electric Purple