#ffc028 ≈ Amber
#ffc028 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 75.29% green and 15.69% blue; printed in CMYK it uses 0% cyan, 24.71% magenta, 84.31% yellow and 0% black. Its hue angle is 42.42°, 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.82:1 (WCAG AAA). The closest named color is Amber (#ffbf00), ΔE 1.41.
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.5911 |
Shades
#ffc028 mixed progressively with black.
Tints
#ffc028 mixed progressively with white.
Tones
#ffc028 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffc028 {
color: #ffc028;
}
.bg-ffc028 {
background-color: #ffc028;
color: #000000;
}
.border-ffc028 {
border: 2px solid #ffc028;
}
:root {
--color-primary: #ffc028;
--color-primary-rgb: 255 192 40;
--color-primary-hsl: 42 100% 58%;
}
.gradient-ffc028 {
background: linear-gradient(135deg, #ffc028, #d2ff28);
}
.shadow-ffc028 {
box-shadow: 0 8px 24px rgb(255 192 40 / 0.35);
}
Amber
#ffc028 rgb(255, 192, 40) hsl(42, 100%, 58%) Amber
#2867ff rgb(40, 103, 255) hsl(222, 100%, 58%) Ultramarine Blue
#28ffc0 rgb(40, 255, 192) hsl(162, 100%, 58%) Aquamarine
#c028ff rgb(192, 40, 255) hsl(282, 100%, 58%) Electric Purple