#afa617 ≈ Brass
#afa617 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.1% green and 9.02% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 86.86% yellow and 31.37% black. Its hue angle is 56.45°, with 76.77% saturation and 38.82% 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.29:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.21.
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.3645 |
Shades
#afa617 mixed progressively with black.
Tints
#afa617 mixed progressively with white.
Tones
#afa617 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa617 {
color: #afa617;
}
.bg-afa617 {
background-color: #afa617;
color: #000000;
}
.border-afa617 {
border: 2px solid #afa617;
}
:root {
--color-primary: #afa617;
--color-primary-rgb: 175 166 23;
--color-primary-hsl: 56 77% 39%;
}
.gradient-afa617 {
background: linear-gradient(135deg, #afa617, #6caf17);
}
.shadow-afa617 {
box-shadow: 0 8px 24px rgb(175 166 23 / 0.35);
}
Brass
#afa617 rgb(175, 166, 23) hsl(56, 77%, 39%) Brass
#1720af rgb(23, 32, 175) hsl(236, 77%, 39%) Zaffre
#17afa6 rgb(23, 175, 166) hsl(176, 77%, 39%) Light Sea Green
#a617af rgb(166, 23, 175) hsl(296, 77%, 39%) Dark Orchid