#f4b520 ≈ Amber
#f4b520 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 95.69% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 25.82% magenta, 86.89% yellow and 4.31% black. Its hue angle is 42.17°, with 90.6% saturation and 54.12% 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.48:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.16.
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.5239 |
Shades
#f4b520 mixed progressively with black.
Tints
#f4b520 mixed progressively with white.
Tones
#f4b520 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f4b520 {
color: #f4b520;
}
.bg-f4b520 {
background-color: #f4b520;
color: #000000;
}
.border-f4b520 {
border: 2px solid #f4b520;
}
:root {
--color-primary: #f4b520;
--color-primary-rgb: 244 181 32;
--color-primary-hsl: 42 91% 54%;
}
.gradient-f4b520 {
background: linear-gradient(135deg, #f4b520, #c9f420);
}
.shadow-f4b520 {
box-shadow: 0 8px 24px rgb(244 181 32 / 0.35);
}
Amber
#f4b520 rgb(244, 181, 32) hsl(42, 91%, 54%) Amber
#205ff4 rgb(32, 95, 244) hsl(222, 91%, 54%) Ultramarine Blue
#20f4b5 rgb(32, 244, 181) hsl(162, 91%, 54%) Medium Spring Green
#b520f4 rgb(181, 32, 244) hsl(282, 91%, 54%) Electric Purple