#f5b520 ≈ Amber
#f5b520 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 96.08% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 26.12% magenta, 86.94% yellow and 3.92% black. Its hue angle is 41.97°, with 91.42% saturation and 54.31% 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.51:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.18.
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.5256 |
Shades
#f5b520 mixed progressively with black.
Tints
#f5b520 mixed progressively with white.
Tones
#f5b520 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f5b520 {
color: #f5b520;
}
.bg-f5b520 {
background-color: #f5b520;
color: #000000;
}
.border-f5b520 {
border: 2px solid #f5b520;
}
:root {
--color-primary: #f5b520;
--color-primary-rgb: 245 181 32;
--color-primary-hsl: 42 91% 54%;
}
.gradient-f5b520 {
background: linear-gradient(135deg, #f5b520, #cbf520);
}
.shadow-f5b520 {
box-shadow: 0 8px 24px rgb(245 181 32 / 0.35);
}
Amber
#f5b520 rgb(245, 181, 32) hsl(42, 91%, 54%) Amber
#2060f5 rgb(32, 96, 245) hsl(222, 91%, 54%) Ultramarine Blue
#20f5b5 rgb(32, 245, 181) hsl(162, 91%, 54%) Medium Spring Green
#b520f5 rgb(181, 32, 245) hsl(282, 91%, 54%) Electric Purple