#B8A42E

#b8a42e ≈ Brass

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

#b8a42e 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.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 10.87% magenta, 75% yellow and 27.84% black. Its hue angle is 51.3°, with 60% saturation and 45.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 brand accents. Black text on this color reaches a contrast ratio of 8.39:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.55.

Description generated from the measured properties of this color.

Conversions of #b8a42e 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.3694

Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #aca484 ≈ 0.001% of males
Protanopia #b4a018 ≈ 1.01% of males
Deuteranopia #baa736 ≈ 1.27% of males
Tritanopia #c7988d ≈ 0.0001% of males
Protanomaly #b6a122 ≈ 1.08% of males
Deuteranomaly #b9a633 ≈ 4.63% of males
Tritanomaly #c19d73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a42e {
  color: #b8a42e;
}
Background
.bg-b8a42e {
  background-color: #b8a42e;
  color: #000000;
}
Border
.border-b8a42e {
  border: 2px solid #b8a42e;
}
CSS variables
:root {
  --color-primary: #b8a42e;
  --color-primary-rgb: 184 164 46;
  --color-primary-hsl: 51 60% 45%;
}
Gradient
.gradient-b8a42e {
  background: linear-gradient(135deg, #b8a42e, #87b82e);
}
Colored shadow
.shadow-b8a42e {
  box-shadow: 0 8px 24px rgb(184 164 46 / 0.35);
}

Brass
#b8a42e  rgb(184, 164, 46)  hsl(51, 60%, 45%)  Brass
#2e42b8  rgb(46, 66, 184)  hsl(231, 60%, 45%)  Persian Blue
#2eb8a4  rgb(46, 184, 164)  hsl(171, 60%, 45%)  Light Sea Green
#a42eb8  rgb(164, 46, 184)  hsl(291, 60%, 45%)  Dark Orchid