#A8A02B

#a8a02b ≈ Brass

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

#a8a02b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 62.75% green and 16.86% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 74.4% yellow and 34.12% black. Its hue angle is 56.16°, with 59.24% saturation and 41.37% 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.73:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.52.

Description generated from the measured properties of this color.

Conversions of #a8a02b 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.3364

Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9d9d9d ≈ 0.003% of males
Achromatomaly #a19e7f ≈ 0.001% of males
Protanopia #ae9a14 ≈ 1.01% of males
Deuteranopia #b19f34 ≈ 1.27% of males
Tritanopia #b5958a ≈ 0.0001% of males
Protanomaly #ac9c1f ≈ 1.08% of males
Deuteranomaly #ae9f30 ≈ 4.63% of males
Tritanomaly #b09970 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a02b {
  color: #a8a02b;
}
Background
.bg-a8a02b {
  background-color: #a8a02b;
  color: #000000;
}
Border
.border-a8a02b {
  border: 2px solid #a8a02b;
}
CSS variables
:root {
  --color-primary: #a8a02b;
  --color-primary-rgb: 168 160 43;
  --color-primary-hsl: 56 59% 41%;
}
Gradient
.gradient-a8a02b {
  background: linear-gradient(135deg, #a8a02b, #71a82b);
}
Colored shadow
.shadow-a8a02b {
  box-shadow: 0 8px 24px rgb(168 160 43 / 0.35);
}

Brass
#a8a02b  rgb(168, 160, 43)  hsl(56, 59%, 41%)  Brass
#2b33a8  rgb(43, 51, 168)  hsl(236, 59%, 41%)  Egyptian Blue
#2ba8a0  rgb(43, 168, 160)  hsl(176, 59%, 41%)  Light Sea Green
#a02ba8  rgb(160, 43, 168)  hsl(296, 59%, 41%)  Dark Orchid