#afa335 ≈ Brass
#afa335 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.92% green and 20.78% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 69.71% yellow and 31.37% black. Its hue angle is 54.1°, with 53.51% saturation and 44.71% 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.11:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.83.
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.3557 |
Shades
#afa335 mixed progressively with black.
Tints
#afa335 mixed progressively with white.
Tones
#afa335 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa335 {
color: #afa335;
}
.bg-afa335 {
background-color: #afa335;
color: #000000;
}
.border-afa335 {
border: 2px solid #afa335;
}
:root {
--color-primary: #afa335;
--color-primary-rgb: 175 163 53;
--color-primary-hsl: 54 54% 45%;
}
.gradient-afa335 {
background: linear-gradient(135deg, #afa335, #7eaf35);
}
.shadow-afa335 {
box-shadow: 0 8px 24px rgb(175 163 53 / 0.35);
}
Brass
#afa335 rgb(175, 163, 53) hsl(54, 54%, 45%) Brass
#3541af rgb(53, 65, 175) hsl(234, 54%, 45%) Persian Blue
#35afa3 rgb(53, 175, 163) hsl(174, 54%, 45%) Light Sea Green
#a335af rgb(163, 53, 175) hsl(294, 54%, 45%) Purpureus