#afaf09 ≈ Brass
#afaf09 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 68.63% green and 3.53% blue; printed in CMYK it uses 0% cyan, 0% magenta, 94.86% yellow and 31.37% black. Its hue angle is 60°, with 90.22% saturation and 36.08% 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 8.96:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.38.
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.3979 |
Shades
#afaf09 mixed progressively with black.
Tints
#afaf09 mixed progressively with white.
Tones
#afaf09 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afaf09 {
color: #afaf09;
}
.bg-afaf09 {
background-color: #afaf09;
color: #000000;
}
.border-afaf09 {
border: 2px solid #afaf09;
}
:root {
--color-primary: #afaf09;
--color-primary-rgb: 175 175 9;
--color-primary-hsl: 60 90% 36%;
}
.gradient-afaf09 {
background: linear-gradient(135deg, #afaf09, #5caf09);
}
.shadow-afaf09 {
box-shadow: 0 8px 24px rgb(175 175 9 / 0.35);
}
Brass
#afaf09 rgb(175, 175, 9) hsl(60, 90%, 36%) Brass
#0909af rgb(9, 9, 175) hsl(240, 90%, 36%) Zaffre
#09afaf rgb(9, 175, 175) hsl(180, 90%, 36%) Verdigris
#af09af rgb(175, 9, 175) hsl(300, 90%, 36%) Dark Orchid