#ffb520 ≈ Amber
#ffb520 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 29.02% magenta, 87.45% yellow and 0% black. Its hue angle is 40.09°, with 100% saturation and 56.27% 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 11.88:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 4.3.
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.5441 |
Shades
#ffb520 mixed progressively with black.
Tints
#ffb520 mixed progressively with white.
Tones
#ffb520 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffb520 {
color: #ffb520;
}
.bg-ffb520 {
background-color: #ffb520;
color: #000000;
}
.border-ffb520 {
border: 2px solid #ffb520;
}
:root {
--color-primary: #ffb520;
--color-primary-rgb: 255 181 32;
--color-primary-hsl: 40 100% 56%;
}
.gradient-ffb520 {
background: linear-gradient(135deg, #ffb520, #d9ff20);
}
.shadow-ffb520 {
box-shadow: 0 8px 24px rgb(255 181 32 / 0.35);
}
Amber
#ffb520 rgb(255, 181, 32) hsl(40, 100%, 56%) Amber
#206aff rgb(32, 106, 255) hsl(220, 100%, 56%) Brandeis Blue
#20ffb5 rgb(32, 255, 181) hsl(160, 100%, 56%) Medium Spring Green
#b520ff rgb(181, 32, 255) hsl(280, 100%, 56%) Electric Purple