#B5AB42

#b5ab42 ≈ Brass

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

#b5ab42 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 70.98% red, 67.06% green and 25.88% blue; printed in CMYK it uses 0% cyan, 5.52% magenta, 63.54% yellow and 29.02% black. Its hue angle is 54.78°, with 46.56% saturation and 48.43% 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.87:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #b5ab42 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.3934

Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #aea98b ≈ 0.001% of males
Protanopia #b9a535 ≈ 1.01% of males
Deuteranopia #bdab48 ≈ 1.27% of males
Tritanopia #c2a095 ≈ 0.0001% of males
Protanomaly #b8a83b ≈ 1.08% of males
Deuteranomaly #baab46 ≈ 4.63% of males
Tritanomaly #bda47c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b5ab42 {
  color: #b5ab42;
}
Background
.bg-b5ab42 {
  background-color: #b5ab42;
  color: #000000;
}
Border
.border-b5ab42 {
  border: 2px solid #b5ab42;
}
CSS variables
:root {
  --color-primary: #b5ab42;
  --color-primary-rgb: 181 171 66;
  --color-primary-hsl: 55 47% 48%;
}
Gradient
.gradient-b5ab42 {
  background: linear-gradient(135deg, #b5ab42, #86b542);
}
Colored shadow
.shadow-b5ab42 {
  box-shadow: 0 8px 24px rgb(181 171 66 / 0.35);
}

Brass
#b5ab42  rgb(181, 171, 66)  hsl(55, 47%, 48%)  Brass
#424cb5  rgb(66, 76, 181)  hsl(235, 47%, 48%)  Ocean Blue
#42b5ab  rgb(66, 181, 171)  hsl(175, 47%, 48%)  Verdigris
#ab42b5  rgb(171, 66, 181)  hsl(295, 47%, 48%)  Purpureus