#f2b017 ≈ Amber
#f2b017 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 94.9% red, 69.02% green and 9.02% blue; printed in CMYK it uses 0% cyan, 27.27% magenta, 90.5% yellow and 5.1% black. Its hue angle is 41.92°, with 89.39% saturation and 51.96% 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:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 4.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4999 |
Shades
#f2b017 mixed progressively with black.
Tints
#f2b017 mixed progressively with white.
Tones
#f2b017 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f2b017 {
color: #f2b017;
}
.bg-f2b017 {
background-color: #f2b017;
color: #000000;
}
.border-f2b017 {
border: 2px solid #f2b017;
}
:root {
--color-primary: #f2b017;
--color-primary-rgb: 242 176 23;
--color-primary-hsl: 42 89% 52%;
}
.gradient-f2b017 {
background: linear-gradient(135deg, #f2b017, #c6f217);
}
.shadow-f2b017 {
box-shadow: 0 8px 24px rgb(242 176 23 / 0.35);
}
Amber
#f2b017 rgb(242, 176, 23) hsl(42, 89%, 52%) Amber
#1759f2 rgb(23, 89, 242) hsl(222, 89%, 52%) Ultramarine Blue
#17f2b0 rgb(23, 242, 176) hsl(162, 89%, 52%) Medium Spring Green
#b017f2 rgb(176, 23, 242) hsl(282, 89%, 52%) Electric Purple