#f8bc02 ≈ Amber
#f8bc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 97.25% red, 73.73% green and 0.78% blue; printed in CMYK it uses 0% cyan, 24.19% magenta, 99.19% yellow and 2.75% black. Its hue angle is 45.37°, with 98.4% saturation and 49.02% 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.19:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.28.
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.5593 |
Shades
#f8bc02 mixed progressively with black.
Tints
#f8bc02 mixed progressively with white.
Tones
#f8bc02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f8bc02 {
color: #f8bc02;
}
.bg-f8bc02 {
background-color: #f8bc02;
color: #000000;
}
.border-f8bc02 {
border: 2px solid #f8bc02;
}
:root {
--color-primary: #f8bc02;
--color-primary-rgb: 248 188 2;
--color-primary-hsl: 45 98% 49%;
}
.gradient-f8bc02 {
background: linear-gradient(135deg, #f8bc02, #b9f802);
}
.shadow-f8bc02 {
box-shadow: 0 8px 24px rgb(248 188 2 / 0.35);
}
Amber
#f8bc02 rgb(248, 188, 2) hsl(45, 98%, 49%) Amber
#023ef8 rgb(2, 62, 248) hsl(225, 98%, 49%) Han Purple
#02f8bc rgb(2, 248, 188) hsl(165, 98%, 49%) Aquamarine
#bc02f8 rgb(188, 2, 248) hsl(285, 98%, 49%) Electric Purple