#A8A308

#a8a308 ≈ Brass

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

#a8a308 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 63.92% green and 3.14% blue; printed in CMYK it uses 0% cyan, 2.98% magenta, 95.24% yellow and 34.12% black. Its hue angle is 58.12°, with 90.91% saturation and 34.51% 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 corporate identities. Black text on this color reaches a contrast ratio of 7.91:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.17.

Description generated from the measured properties of this color.

Conversions of #a8a308 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.3454

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

Achromatopsia #9f9f9f ≈ 0.003% of males
Achromatomaly #a3a07e ≈ 0.001% of males
Protanopia #b29c00 ≈ 1.01% of males
Deuteranopia #b4a11f ≈ 1.27% of males
Tritanopia #b5978a ≈ 0.0001% of males
Protanomaly #ae9f00 ≈ 1.08% of males
Deuteranomaly #b0a218 ≈ 4.63% of males
Tritanomaly #b09c6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#a8a308  rgb(168, 163, 8)  hsl(58, 91%, 35%)  Brass
#080da8  rgb(8, 13, 168)  hsl(238, 91%, 35%)  Zaffre
#08a8a3  rgb(8, 168, 163)  hsl(178, 91%, 35%)  Light Sea Green
#a308a8  rgb(163, 8, 168)  hsl(298, 91%, 35%)  Dark Magenta