#af940e ≈ Brass
#af940e is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 58.04% green and 5.49% blue; printed in CMYK it uses 0% cyan, 15.43% magenta, 92% yellow and 31.37% black. Its hue angle is 49.94°, with 85.19% saturation and 37.06% 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 7.07:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.72.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3033 |
Shades
#af940e mixed progressively with black.
Tints
#af940e mixed progressively with white.
Tones
#af940e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af940e {
color: #af940e;
}
.bg-af940e {
background-color: #af940e;
color: #000000;
}
.border-af940e {
border: 2px solid #af940e;
}
:root {
--color-primary: #af940e;
--color-primary-rgb: 175 148 14;
--color-primary-hsl: 50 85% 37%;
}
.gradient-af940e {
background: linear-gradient(135deg, #af940e, #79af0e);
}
.shadow-af940e {
box-shadow: 0 8px 24px rgb(175 148 14 / 0.35);
}
Brass
#af940e rgb(175, 148, 14) hsl(50, 85%, 37%) Brass
#0e29af rgb(14, 41, 175) hsl(230, 85%, 37%) Egyptian Blue
#0eaf94 rgb(14, 175, 148) hsl(170, 85%, 37%) Jungle Green
#940eaf rgb(148, 14, 175) hsl(290, 85%, 37%) Dark Violet