#A8A158

#a8a158 ≈ Brass

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

#a8a158 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 63.14% green and 34.51% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 47.62% yellow and 34.12% black. Its hue angle is 54.75°, with 31.5% saturation and 50.2% 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 7.9:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.14.

Description generated from the measured properties of this color.

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

Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9f9f9f ≈ 0.003% of males
Achromatomaly #a2a088 ≈ 0.001% of males
Protanopia #ac9c52 ≈ 1.01% of males
Deuteranopia #afa15b ≈ 1.27% of males
Tritanopia #b29890 ≈ 0.0001% of males
Protanomaly #ab9e54 ≈ 1.08% of males
Deuteranomaly #aca15a ≈ 4.63% of males
Tritanomaly #ae9c7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a158 {
  color: #a8a158;
}
Background
.bg-a8a158 {
  background-color: #a8a158;
  color: #000000;
}
Border
.border-a8a158 {
  border: 2px solid #a8a158;
}
CSS variables
:root {
  --color-primary: #a8a158;
  --color-primary-rgb: 168 161 88;
  --color-primary-hsl: 55 32% 50%;
}
Gradient
.gradient-a8a158 {
  background: linear-gradient(135deg, #a8a158, #87a858);
}
Colored shadow
.shadow-a8a158 {
  box-shadow: 0 8px 24px rgb(168 161 88 / 0.35);
}

Brass
#a8a158  rgb(168, 161, 88)  hsl(55, 32%, 50%)  Brass
#585fa8  rgb(88, 95, 168)  hsl(235, 32%, 50%)  Slate Blue
#58a8a1  rgb(88, 168, 161)  hsl(175, 32%, 50%)  Verdigris
#a158a8  rgb(161, 88, 168)  hsl(295, 32%, 50%)  Purpureus