#A8940F

#a8940f ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#a8940f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 58.04% green and 5.88% blue; printed in CMYK it uses 0% cyan, 11.9% magenta, 91.07% yellow and 34.12% black. Its hue angle is 52.16°, with 83.61% saturation and 35.88% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 6.91:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 6.29.

Description generated from the measured properties of this color.

Conversions of #a8940f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999900
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2954

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

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #9c9475 ≈ 0.001% of males
Protanopia #a49000 ≈ 1.01% of males
Deuteranopia #a9971e ≈ 1.27% of males
Tritanopia #b6887e ≈ 0.0001% of males
Protanomaly #a69200 ≈ 1.08% of males
Deuteranomaly #a99619 ≈ 4.63% of males
Tritanomaly #b18d64 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8940f {
  color: #a8940f;
}
Background
.bg-a8940f {
  background-color: #a8940f;
  color: #000000;
}
Border
.border-a8940f {
  border: 2px solid #a8940f;
}
CSS variables
:root {
  --color-primary: #a8940f;
  --color-primary-rgb: 168 148 15;
  --color-primary-hsl: 52 84% 36%;
}
Gradient
.gradient-a8940f {
  background: linear-gradient(135deg, #a8940f, #6fa80f);
}
Colored shadow
.shadow-a8940f {
  box-shadow: 0 8px 24px rgb(168 148 15 / 0.35);
}

Brass
#a8940f  rgb(168, 148, 15)  hsl(52, 84%, 36%)  Brass
#0f23a8  rgb(15, 35, 168)  hsl(232, 84%, 36%)  Zaffre
#0fa894  rgb(15, 168, 148)  hsl(172, 84%, 36%)  Persian Green
#940fa8  rgb(148, 15, 168)  hsl(292, 84%, 36%)  Dark Magenta