#afa246 ≈ Brass
#afa246 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.53% green and 27.45% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 60% yellow and 31.37% black. Its hue angle is 52.57°, with 42.86% saturation and 48.04% 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.08:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.75.
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.354 |
Shades
#afa246 mixed progressively with black.
Tints
#afa246 mixed progressively with white.
Tones
#afa246 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa246 {
color: #afa246;
}
.bg-afa246 {
background-color: #afa246;
color: #000000;
}
.border-afa246 {
border: 2px solid #afa246;
}
:root {
--color-primary: #afa246;
--color-primary-rgb: 175 162 70;
--color-primary-hsl: 53 43% 48%;
}
.gradient-afa246 {
background: linear-gradient(135deg, #afa246, #88af46);
}
.shadow-afa246 {
box-shadow: 0 8px 24px rgb(175 162 70 / 0.35);
}
Brass
#afa246 rgb(175, 162, 70) hsl(53, 43%, 48%) Brass
#4653af rgb(70, 83, 175) hsl(233, 43%, 48%) Sapphire
#46afa2 rgb(70, 175, 162) hsl(173, 43%, 48%) Light Sea Green
#a246af rgb(162, 70, 175) hsl(293, 43%, 48%) Purpureus