#B4A42E

#b4a42e ≈ Brass

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

#b4a42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 70.59% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.89% magenta, 74.44% yellow and 29.41% black. Its hue angle is 52.84°, with 59.29% saturation and 44.31% 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.29:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.17.

Description generated from the measured properties of this color.

Conversions of #b4a42e 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.3645

Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #aaa384 ≈ 0.001% of males
Protanopia #b49f18 ≈ 1.01% of males
Deuteranopia #b8a536 ≈ 1.27% of males
Tritanopia #c2988d ≈ 0.0001% of males
Protanomaly #b4a122 ≈ 1.08% of males
Deuteranomaly #b7a533 ≈ 4.63% of males
Tritanomaly #bd9d73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b4a42e {
  color: #b4a42e;
}
Background
.bg-b4a42e {
  background-color: #b4a42e;
  color: #000000;
}
Border
.border-b4a42e {
  border: 2px solid #b4a42e;
}
CSS variables
:root {
  --color-primary: #b4a42e;
  --color-primary-rgb: 180 164 46;
  --color-primary-hsl: 53 59% 44%;
}
Gradient
.gradient-b4a42e {
  background: linear-gradient(135deg, #b4a42e, #81b42e);
}
Colored shadow
.shadow-b4a42e {
  box-shadow: 0 8px 24px rgb(180 164 46 / 0.35);
}

Brass
#b4a42e  rgb(180, 164, 46)  hsl(53, 59%, 44%)  Brass
#2e3eb4  rgb(46, 62, 180)  hsl(233, 59%, 44%)  Persian Blue
#2eb4a4  rgb(46, 180, 164)  hsl(173, 59%, 44%)  Light Sea Green
#a42eb4  rgb(164, 46, 180)  hsl(293, 59%, 44%)  Dark Orchid