#A8A40B

#a8a40b ≈ Brass

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

#a8a40b is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 64.31% green and 4.31% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 93.45% yellow and 34.12% black. Its hue angle is 58.47°, with 87.71% saturation and 35.1% 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 7.98:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.2.

Description generated from the measured properties of this color.

Conversions of #a8a40b 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.349

Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9f9f9f ≈ 0.003% of males
Achromatomaly #a3a17f ≈ 0.001% of males
Protanopia #b39d00 ≈ 1.01% of males
Deuteranopia #b5a220 ≈ 1.27% of males
Tritanopia #b5988b ≈ 0.0001% of males
Protanomaly #afa000 ≈ 1.08% of males
Deuteranomaly #b0a31a ≈ 4.63% of males
Tritanomaly #b09d6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a40b {
  color: #a8a40b;
}
Background
.bg-a8a40b {
  background-color: #a8a40b;
  color: #000000;
}
Border
.border-a8a40b {
  border: 2px solid #a8a40b;
}
CSS variables
:root {
  --color-primary: #a8a40b;
  --color-primary-rgb: 168 164 11;
  --color-primary-hsl: 58 88% 35%;
}
Gradient
.gradient-a8a40b {
  background: linear-gradient(135deg, #a8a40b, #5ea80b);
}
Colored shadow
.shadow-a8a40b {
  box-shadow: 0 8px 24px rgb(168 164 11 / 0.35);
}

Brass
#a8a40b  rgb(168, 164, 11)  hsl(58, 88%, 35%)  Brass
#0b0fa8  rgb(11, 15, 168)  hsl(238, 88%, 35%)  Zaffre
#0ba8a4  rgb(11, 168, 164)  hsl(178, 88%, 35%)  Light Sea Green
#a40ba8  rgb(164, 11, 168)  hsl(298, 88%, 35%)  Dark Magenta