#f0b505 ≈ Amber
#f0b505 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.12% red, 70.98% green and 1.96% blue; printed in CMYK it uses 0% cyan, 24.58% magenta, 97.92% yellow and 5.88% black. Its hue angle is 44.94°, with 95.92% saturation and 48.04% 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.32:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 2.96.
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.5158 |
Shades
#f0b505 mixed progressively with black.
Tints
#f0b505 mixed progressively with white.
Tones
#f0b505 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f0b505 {
color: #f0b505;
}
.bg-f0b505 {
background-color: #f0b505;
color: #000000;
}
.border-f0b505 {
border: 2px solid #f0b505;
}
:root {
--color-primary: #f0b505;
--color-primary-rgb: 240 181 5;
--color-primary-hsl: 45 96% 48%;
}
.gradient-f0b505 {
background: linear-gradient(135deg, #f0b505, #b5f005);
}
.shadow-f0b505 {
box-shadow: 0 8px 24px rgb(240 181 5 / 0.35);
}
Amber
#f0b505 rgb(240, 181, 5) hsl(45, 96%, 48%) Amber
#0540f0 rgb(5, 64, 240) hsl(225, 96%, 48%) Persian Blue
#05f0b5 rgb(5, 240, 181) hsl(165, 96%, 48%) Aquamarine
#b505f0 rgb(181, 5, 240) hsl(285, 96%, 48%) Electric Purple