#A8A42D

#a8a42d ≈ Brass

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

#a8a42d 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 17.65% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 73.21% yellow and 34.12% black. Its hue angle is 58.05°, with 57.75% 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 8.01:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #a8a42d 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.3507

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

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a3a281 ≈ 0.001% of males
Protanopia #b29d16 ≈ 1.01% of males
Deuteranopia #b4a236 ≈ 1.27% of males
Tritanopia #b4998d ≈ 0.0001% of males
Protanomaly #aea021 ≈ 1.08% of males
Deuteranomaly #afa333 ≈ 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-a8a42d {
  color: #a8a42d;
}
Background
.bg-a8a42d {
  background-color: #a8a42d;
  color: #000000;
}
Border
.border-a8a42d {
  border: 2px solid #a8a42d;
}
CSS variables
:root {
  --color-primary: #a8a42d;
  --color-primary-rgb: 168 164 45;
  --color-primary-hsl: 58 58% 42%;
}
Gradient
.gradient-a8a42d {
  background: linear-gradient(135deg, #a8a42d, #6ea82d);
}
Colored shadow
.shadow-a8a42d {
  box-shadow: 0 8px 24px rgb(168 164 45 / 0.35);
}

Brass
#a8a42d  rgb(168, 164, 45)  hsl(58, 58%, 42%)  Brass
#2d31a8  rgb(45, 49, 168)  hsl(238, 58%, 42%)  Egyptian Blue
#2da8a4  rgb(45, 168, 164)  hsl(178, 58%, 42%)  Light Sea Green
#a42da8  rgb(164, 45, 168)  hsl(298, 58%, 42%)  Purpureus