#A9942E

#a9942e ≈ Brass

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

#a9942e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 66.27% red, 58.04% green and 18.04% blue; printed in CMYK it uses 0% cyan, 12.43% magenta, 72.78% yellow and 33.73% black. Its hue angle is 49.76°, 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 6.96:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 5.55.

Description generated from the measured properties of this color.

Conversions of #a9942e 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.2981

Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #9d9479 ≈ 0.001% of males
Protanopia #a3901e ≈ 1.01% of males
Deuteranopia #a99734 ≈ 1.27% of males
Tritanopia #b68980 ≈ 0.0001% of males
Protanomaly #a59225 ≈ 1.08% of males
Deuteranomaly #a99632 ≈ 4.63% of males
Tritanomaly #b18d69 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#a9942e  rgb(169, 148, 46)  hsl(50, 57%, 42%)  Brass
#2e43a9  rgb(46, 67, 169)  hsl(230, 57%, 42%)  Cobalt Blue
#2ea994  rgb(46, 169, 148)  hsl(170, 57%, 42%)  Persian Green
#942ea9  rgb(148, 46, 169)  hsl(290, 57%, 42%)  Dark Orchid