#A7942E

#a7942e ≈ Brass

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

#a7942e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.49% red, 58.04% green and 18.04% blue; printed in CMYK it uses 0% cyan, 11.38% magenta, 72.46% yellow and 34.51% black. Its hue angle is 50.58°, with 56.81% saturation and 41.76% 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.92:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 5.5.

Description generated from the measured properties of this color.

Conversions of #a7942e 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.2959

Readable text 3.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #9c9478 ≈ 0.001% of males
Protanopia #a3901e ≈ 1.01% of males
Deuteranopia #a89734 ≈ 1.27% of males
Tritanopia #b48980 ≈ 0.0001% of males
Protanomaly #a49225 ≈ 1.08% of males
Deuteranomaly #a79632 ≈ 4.63% of males
Tritanomaly #af8d69 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#a7942e  rgb(167, 148, 46)  hsl(51, 57%, 42%)  Brass
#2e41a7  rgb(46, 65, 167)  hsl(231, 57%, 42%)  Persian Blue
#2ea794  rgb(46, 167, 148)  hsl(171, 57%, 42%)  Persian Green
#942ea7  rgb(148, 46, 167)  hsl(291, 57%, 42%)  Dark Orchid