#ab9e2d ≈ Brass
#ab9e2d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 61.96% green and 17.65% blue; printed in CMYK it uses 0% cyan, 7.6% magenta, 73.68% yellow and 32.94% black. Its hue angle is 53.81°, with 58.33% saturation and 42.35% 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.66:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.04.
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.333 |
Shades
#ab9e2d mixed progressively with black.
Tints
#ab9e2d mixed progressively with white.
Tones
#ab9e2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab9e2d {
color: #ab9e2d;
}
.bg-ab9e2d {
background-color: #ab9e2d;
color: #000000;
}
.border-ab9e2d {
border: 2px solid #ab9e2d;
}
:root {
--color-primary: #ab9e2d;
--color-primary-rgb: 171 158 45;
--color-primary-hsl: 54 58% 42%;
}
.gradient-ab9e2d {
background: linear-gradient(135deg, #ab9e2d, #79ab2d);
}
.shadow-ab9e2d {
box-shadow: 0 8px 24px rgb(171 158 45 / 0.35);
}
Brass
#ab9e2d rgb(171, 158, 45) hsl(54, 58%, 42%) Brass
#2d3aab rgb(45, 58, 171) hsl(234, 58%, 42%) Persian Blue
#2dab9e rgb(45, 171, 158) hsl(174, 58%, 42%) Light Sea Green
#9e2dab rgb(158, 45, 171) hsl(294, 58%, 42%) Dark Orchid