#fab511 ≈ Amber
#fab511 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 98.04% red, 70.98% green and 6.67% blue; printed in CMYK it uses 0% cyan, 27.6% magenta, 93.2% yellow and 1.96% black. Its hue angle is 42.23°, with 95.88% saturation and 52.35% 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.68:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 3.1.
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.5341 |
Shades
#fab511 mixed progressively with black.
Tints
#fab511 mixed progressively with white.
Tones
#fab511 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fab511 {
color: #fab511;
}
.bg-fab511 {
background-color: #fab511;
color: #000000;
}
.border-fab511 {
border: 2px solid #fab511;
}
:root {
--color-primary: #fab511;
--color-primary-rgb: 250 181 17;
--color-primary-hsl: 42 96% 52%;
}
.gradient-fab511 {
background: linear-gradient(135deg, #fab511, #cbfa11);
}
.shadow-fab511 {
box-shadow: 0 8px 24px rgb(250 181 17 / 0.35);
}
Amber
#fab511 rgb(250, 181, 17) hsl(42, 96%, 52%) Amber
#1156fa rgb(17, 86, 250) hsl(222, 96%, 52%) Ultramarine Blue
#11fab5 rgb(17, 250, 181) hsl(162, 96%, 52%) Medium Spring Green
#b511fa rgb(181, 17, 250) hsl(282, 96%, 52%) Electric Purple