#B8A528

#b8a528 ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#b8a528 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 64.71% green and 15.69% blue; printed in CMYK it uses 0% cyan, 10.33% magenta, 78.26% yellow and 27.84% black. Its hue angle is 52.08°, with 64.29% saturation and 43.92% 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 8.45:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.95.

Description generated from the measured properties of this color.

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

Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #ada584 ≈ 0.001% of males
Protanopia #b5a008 ≈ 1.01% of males
Deuteranopia #bba731 ≈ 1.27% of males
Tritanopia #c7988e ≈ 0.0001% of males
Protanomaly #b6a219 ≈ 1.08% of males
Deuteranomaly #baa62e ≈ 4.63% of males
Tritanomaly #c19e72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a528 {
  color: #b8a528;
}
Background
.bg-b8a528 {
  background-color: #b8a528;
  color: #000000;
}
Border
.border-b8a528 {
  border: 2px solid #b8a528;
}
CSS variables
:root {
  --color-primary: #b8a528;
  --color-primary-rgb: 184 165 40;
  --color-primary-hsl: 52 64% 44%;
}
Gradient
.gradient-b8a528 {
  background: linear-gradient(135deg, #b8a528, #83b828);
}
Colored shadow
.shadow-b8a528 {
  box-shadow: 0 8px 24px rgb(184 165 40 / 0.35);
}

Brass
#b8a528  rgb(184, 165, 40)  hsl(52, 64%, 44%)  Brass
#283bb8  rgb(40, 59, 184)  hsl(232, 64%, 44%)  Persian Blue
#28b8a5  rgb(40, 184, 165)  hsl(172, 64%, 44%)  Light Sea Green
#a528b8  rgb(165, 40, 184)  hsl(292, 64%, 44%)  Dark Orchid