#A9A42E

#a9a42e ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#a9a42e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 66.27% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 2.96% magenta, 72.78% yellow and 33.73% black. Its hue angle is 57.56°, with 57.21% saturation and 42.16% 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.04:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #a9a42e into other color spaces
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 luminance0.3518

Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a4a282 ≈ 0.001% of males
Protanopia #b29e18 ≈ 1.01% of males
Deuteranopia #b4a237 ≈ 1.27% of males
Tritanopia #b5998d ≈ 0.0001% of males
Protanomaly #afa023 ≈ 1.08% of males
Deuteranomaly #b0a333 ≈ 4.63% of males
Tritanomaly #b19e73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a9a42e {
  color: #a9a42e;
}
Background
.bg-a9a42e {
  background-color: #a9a42e;
  color: #000000;
}
Border
.border-a9a42e {
  border: 2px solid #a9a42e;
}
CSS variables
:root {
  --color-primary: #a9a42e;
  --color-primary-rgb: 169 164 46;
  --color-primary-hsl: 58 57% 42%;
}
Gradient
.gradient-a9a42e {
  background: linear-gradient(135deg, #a9a42e, #71a92e);
}
Colored shadow
.shadow-a9a42e {
  box-shadow: 0 8px 24px rgb(169 164 46 / 0.35);
}

Brass
#a9a42e  rgb(169, 164, 46)  hsl(58, 57%, 42%)  Brass
#2e33a9  rgb(46, 51, 169)  hsl(238, 57%, 42%)  Egyptian Blue
#2ea9a4  rgb(46, 169, 164)  hsl(178, 57%, 42%)  Light Sea Green
#a42ea9  rgb(164, 46, 169)  hsl(298, 57%, 42%)  Purpureus