#A5A331

#a5a331 ≈ Brass

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

#a5a331 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 64.71% red, 63.92% green and 19.22% blue; printed in CMYK it uses 0% cyan, 1.21% magenta, 70.3% yellow and 35.29% black. Its hue angle is 58.97°, with 54.21% saturation and 41.96% 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.88:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.24.

Description generated from the measured properties of this color.

Conversions of #a5a331 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.3442

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

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #a1a081 ≈ 0.001% of males
Protanopia #b09c1e ≈ 1.01% of males
Deuteranopia #b2a039 ≈ 1.27% of males
Tritanopia #b1988d ≈ 0.0001% of males
Protanomaly #ac9f27 ≈ 1.08% of males
Deuteranomaly #ada136 ≈ 4.63% of males
Tritanomaly #ac9d73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a5a331 {
  color: #a5a331;
}
Background
.bg-a5a331 {
  background-color: #a5a331;
  color: #000000;
}
Border
.border-a5a331 {
  border: 2px solid #a5a331;
}
CSS variables
:root {
  --color-primary: #a5a331;
  --color-primary-rgb: 165 163 49;
  --color-primary-hsl: 59 54% 42%;
}
Gradient
.gradient-a5a331 {
  background: linear-gradient(135deg, #a5a331, #6da531);
}
Colored shadow
.shadow-a5a331 {
  box-shadow: 0 8px 24px rgb(165 163 49 / 0.35);
}

Brass
#a5a331  rgb(165, 163, 49)  hsl(59, 54%, 42%)  Brass
#3133a5  rgb(49, 51, 165)  hsl(239, 54%, 42%)  Egyptian Blue
#31a5a3  rgb(49, 165, 163)  hsl(179, 54%, 42%)  Verdigris
#a331a5  rgb(163, 49, 165)  hsl(299, 54%, 42%)  Purpureus