#B4AB2E

#b4ab2e ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #b4ab2e 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.3903

Readable text 2.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #ada988 ≈ 0.001% of males
Protanopia #baa515 ≈ 1.01% of males
Deuteranopia #beaa37 ≈ 1.27% of males
Tritanopia #c29f93 ≈ 0.0001% of males
Protanomaly #b8a721 ≈ 1.08% of males
Deuteranomaly #baab34 ≈ 4.63% of males
Tritanomaly #bca477 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b4ab2e  rgb(180, 171, 46)  hsl(56, 59%, 44%)  Brass
#2e37b4  rgb(46, 55, 180)  hsl(236, 59%, 44%)  Persian Blue
#2eb4ab  rgb(46, 180, 171)  hsl(176, 59%, 44%)  Light Sea Green
#ab2eb4  rgb(171, 46, 180)  hsl(296, 59%, 44%)  Purpureus