#ffba08 ≈ Amber
#ffba08 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 3.14% blue; printed in CMYK it uses 0% cyan, 27.06% magenta, 96.86% yellow and 0% black. Its hue angle is 43.24°, with 100% saturation and 51.57% 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.28:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.87.
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.564 |
Shades
#ffba08 mixed progressively with black.
Tints
#ffba08 mixed progressively with white.
Tones
#ffba08 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffba08 {
color: #ffba08;
}
.bg-ffba08 {
background-color: #ffba08;
color: #000000;
}
.border-ffba08 {
border: 2px solid #ffba08;
}
:root {
--color-primary: #ffba08;
--color-primary-rgb: 255 186 8;
--color-primary-hsl: 43 100% 52%;
}
.gradient-ffba08 {
background: linear-gradient(135deg, #ffba08, #c8ff08);
}
.shadow-ffba08 {
box-shadow: 0 8px 24px rgb(255 186 8 / 0.35);
}
Amber
#ffba08 rgb(255, 186, 8) hsl(43, 100%, 52%) Amber
#084dff rgb(8, 77, 255) hsl(223, 100%, 52%) Majorelle Blue
#08ffba rgb(8, 255, 186) hsl(163, 100%, 52%) Medium Spring Green
#ba08ff rgb(186, 8, 255) hsl(283, 100%, 52%) Electric Purple