#A8A42F

#a8a42f ≈ Brass

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

#a8a42f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 64.31% green and 18.43% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 72.02% yellow and 34.12% black. Its hue angle is 58.02°, with 56.28% 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.02:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.76.

Description generated from the measured properties of this color.

Conversions of #a8a42f 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.3508

Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a3a282 ≈ 0.001% of males
Protanopia #b29e1a ≈ 1.01% of males
Deuteranopia #b4a237 ≈ 1.27% of males
Tritanopia #b4998d ≈ 0.0001% of males
Protanomaly #aea024 ≈ 1.08% of males
Deuteranomaly #afa334 ≈ 4.63% of males
Tritanomaly #b09e73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a42f {
  color: #a8a42f;
}
Background
.bg-a8a42f {
  background-color: #a8a42f;
  color: #000000;
}
Border
.border-a8a42f {
  border: 2px solid #a8a42f;
}
CSS variables
:root {
  --color-primary: #a8a42f;
  --color-primary-rgb: 168 164 47;
  --color-primary-hsl: 58 56% 42%;
}
Gradient
.gradient-a8a42f {
  background: linear-gradient(135deg, #a8a42f, #70a82f);
}
Colored shadow
.shadow-a8a42f {
  box-shadow: 0 8px 24px rgb(168 164 47 / 0.35);
}

Brass
#a8a42f  rgb(168, 164, 47)  hsl(58, 56%, 42%)  Brass
#2f33a8  rgb(47, 51, 168)  hsl(238, 56%, 42%)  Egyptian Blue
#2fa8a4  rgb(47, 168, 164)  hsl(178, 56%, 42%)  Light Sea Green
#a42fa8  rgb(164, 47, 168)  hsl(298, 56%, 42%)  Purpureus