#afb217 ≈ Brass
#afb217 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 69.8% green and 9.02% blue; printed in CMYK it uses 1.69% cyan, 0% magenta, 87.08% yellow and 30.2% black. Its hue angle is 61.16°, with 77.11% saturation and 39.41% 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 9.2:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.82.
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.4102 |
Shades
#afb217 mixed progressively with black.
Tints
#afb217 mixed progressively with white.
Tones
#afb217 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afb217 {
color: #afb217;
}
.bg-afb217 {
background-color: #afb217;
color: #000000;
}
.border-afb217 {
border: 2px solid #afb217;
}
:root {
--color-primary: #afb217;
--color-primary-rgb: 175 178 23;
--color-primary-hsl: 61 77% 39%;
}
.gradient-afb217 {
background: linear-gradient(135deg, #afb217, #61b217);
}
.shadow-afb217 {
box-shadow: 0 8px 24px rgb(175 178 23 / 0.35);
}
Brass
#afb217 rgb(175, 178, 23) hsl(61, 77%, 39%) Brass
#1a17b2 rgb(26, 23, 178) hsl(241, 77%, 39%) Zaffre
#17afb2 rgb(23, 175, 178) hsl(181, 77%, 39%) Verdigris
#b217af rgb(178, 23, 175) hsl(301, 77%, 39%) Dark Orchid