#af951d ≈ Brass
#af951d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 58.43% green and 11.37% blue; printed in CMYK it uses 0% cyan, 14.86% magenta, 83.43% yellow and 31.37% black. Its hue angle is 49.32°, with 71.57% saturation and 40% 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 7.14:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.307 |
Shades
#af951d mixed progressively with black.
Tints
#af951d mixed progressively with white.
Tones
#af951d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af951d {
color: #af951d;
}
.bg-af951d {
background-color: #af951d;
color: #000000;
}
.border-af951d {
border: 2px solid #af951d;
}
:root {
--color-primary: #af951d;
--color-primary-rgb: 175 149 29;
--color-primary-hsl: 49 72% 40%;
}
.gradient-af951d {
background: linear-gradient(135deg, #af951d, #80af1d);
}
.shadow-af951d {
box-shadow: 0 8px 24px rgb(175 149 29 / 0.35);
}
Brass
#af951d rgb(175, 149, 29) hsl(49, 72%, 40%) Brass
#1d37af rgb(29, 55, 175) hsl(229, 72%, 40%) Persian Blue
#1daf95 rgb(29, 175, 149) hsl(169, 72%, 40%) Persian Green
#951daf rgb(149, 29, 175) hsl(289, 72%, 40%) Dark Violet