#afa427 ≈ Brass
#afa427 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 64.31% green and 15.29% blue; printed in CMYK it uses 0% cyan, 6.29% magenta, 77.71% yellow and 31.37% black. Its hue angle is 55.15°, with 63.55% saturation and 41.96% 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 brand accents. Black text on this color reaches a contrast ratio of 8.16:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3581 |
Shades
#afa427 mixed progressively with black.
Tints
#afa427 mixed progressively with white.
Tones
#afa427 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa427 {
color: #afa427;
}
.bg-afa427 {
background-color: #afa427;
color: #000000;
}
.border-afa427 {
border: 2px solid #afa427;
}
:root {
--color-primary: #afa427;
--color-primary-rgb: 175 164 39;
--color-primary-hsl: 55 64% 42%;
}
.gradient-afa427 {
background: linear-gradient(135deg, #afa427, #76af27);
}
.shadow-afa427 {
box-shadow: 0 8px 24px rgb(175 164 39 / 0.35);
}
Brass
#afa427 rgb(175, 164, 39) hsl(55, 64%, 42%) Brass
#2732af rgb(39, 50, 175) hsl(235, 64%, 42%) Egyptian Blue
#27afa4 rgb(39, 175, 164) hsl(175, 64%, 42%) Light Sea Green
#a427af rgb(164, 39, 175) hsl(295, 64%, 42%) Dark Orchid