#af970c ≈ Brass
#af970c is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 59.22% green and 4.71% blue; printed in CMYK it uses 0% cyan, 13.71% magenta, 93.14% yellow and 31.37% black. Its hue angle is 51.17°, with 87.17% saturation and 36.67% 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.25:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.92.
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.3127 |
Shades
#af970c mixed progressively with black.
Tints
#af970c mixed progressively with white.
Tones
#af970c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af970c {
color: #af970c;
}
.bg-af970c {
background-color: #af970c;
color: #000000;
}
.border-af970c {
border: 2px solid #af970c;
}
:root {
--color-primary: #af970c;
--color-primary-rgb: 175 151 12;
--color-primary-hsl: 51 87% 37%;
}
.gradient-af970c {
background: linear-gradient(135deg, #af970c, #76af0c);
}
.shadow-af970c {
box-shadow: 0 8px 24px rgb(175 151 12 / 0.35);
}
Brass
#af970c rgb(175, 151, 12) hsl(51, 87%, 37%) Brass
#0c24af rgb(12, 36, 175) hsl(231, 87%, 37%) Zaffre
#0caf97 rgb(12, 175, 151) hsl(171, 87%, 37%) Persian Green
#970caf rgb(151, 12, 175) hsl(291, 87%, 37%) Dark Violet