#ffba28 ≈ Amber
#ffba28 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 72.94% green and 15.69% blue; printed in CMYK it uses 0% cyan, 27.06% magenta, 84.31% yellow and 0% black. Its hue angle is 40.74°, with 100% saturation and 57.84% 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.31:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 2.97.
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.5653 |
Shades
#ffba28 mixed progressively with black.
Tints
#ffba28 mixed progressively with white.
Tones
#ffba28 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffba28 {
color: #ffba28;
}
.bg-ffba28 {
background-color: #ffba28;
color: #000000;
}
.border-ffba28 {
border: 2px solid #ffba28;
}
:root {
--color-primary: #ffba28;
--color-primary-rgb: 255 186 40;
--color-primary-hsl: 41 100% 58%;
}
.gradient-ffba28 {
background: linear-gradient(135deg, #ffba28, #d9ff28);
}
.shadow-ffba28 {
box-shadow: 0 8px 24px rgb(255 186 40 / 0.35);
}
Amber
#ffba28 rgb(255, 186, 40) hsl(41, 100%, 58%) Amber
#286dff rgb(40, 109, 255) hsl(221, 100%, 58%) Brandeis Blue
#28ffba rgb(40, 255, 186) hsl(161, 100%, 58%) Medium Spring Green
#ba28ff rgb(186, 40, 255) hsl(281, 100%, 58%) Electric Purple