#ffe31b ≈ Golden Yellow
#ffe31b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 100% red, 89.02% green and 10.59% blue; printed in CMYK it uses 0% cyan, 10.98% magenta, 89.41% yellow and 0% black. Its hue angle is 52.63°, with 100% saturation and 55.29% 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 16.26:1 (WCAG AAA). The closest named color is Golden Yellow (#ffdf00), ΔE 1.27.
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.7628 |
Shades
#ffe31b mixed progressively with black.
Tints
#ffe31b mixed progressively with white.
Tones
#ffe31b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffe31b {
color: #ffe31b;
}
.bg-ffe31b {
background-color: #ffe31b;
color: #000000;
}
.border-ffe31b {
border: 2px solid #ffe31b;
}
:root {
--color-primary: #ffe31b;
--color-primary-rgb: 255 227 27;
--color-primary-hsl: 53 100% 55%;
}
.gradient-ffe31b {
background: linear-gradient(135deg, #ffe31b, #a9ff1b);
}
.shadow-ffe31b {
box-shadow: 0 8px 24px rgb(255 227 27 / 0.35);
}
Golden Yellow
#ffe31b rgb(255, 227, 27) hsl(53, 100%, 55%) Golden Yellow
#1b37ff rgb(27, 55, 255) hsl(233, 100%, 55%) Han Purple
#1bffe3 rgb(27, 255, 227) hsl(173, 100%, 55%) Turquoise Blue
#e31bff rgb(227, 27, 255) hsl(293, 100%, 55%) Fuchsia