#afaf33 ≈ Brass
#afaf33 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 68.63% green and 20% blue; printed in CMYK it uses 0% cyan, 0% magenta, 70.86% yellow and 31.37% black. Its hue angle is 60°, with 54.87% saturation and 44.31% 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 9:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.
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.4001 |
Shades
#afaf33 mixed progressively with black.
Tints
#afaf33 mixed progressively with white.
Tones
#afaf33 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afaf33 {
color: #afaf33;
}
.bg-afaf33 {
background-color: #afaf33;
color: #000000;
}
.border-afaf33 {
border: 2px solid #afaf33;
}
:root {
--color-primary: #afaf33;
--color-primary-rgb: 175 175 51;
--color-primary-hsl: 60 55% 44%;
}
.gradient-afaf33 {
background: linear-gradient(135deg, #afaf33, #71af33);
}
.shadow-afaf33 {
box-shadow: 0 8px 24px rgb(175 175 51 / 0.35);
}
Brass
#afaf33 rgb(175, 175, 51) hsl(60, 55%, 44%) Brass
#3333af rgb(51, 51, 175) hsl(240, 55%, 44%) Persian Blue
#33afaf rgb(51, 175, 175) hsl(180, 55%, 44%) Verdigris
#af33af rgb(175, 51, 175) hsl(300, 55%, 44%) Purpureus