#B6AB40

#b6ab40 ≈ Brass

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

#b6ab40 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.37% red, 67.06% green and 25.1% blue; printed in CMYK it uses 0% cyan, 6.04% magenta, 64.84% yellow and 28.63% black. Its hue angle is 54.41°, with 47.97% saturation and 48.24% 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.89:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.86.

Description generated from the measured properties of this color.

Conversions of #b6ab40 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.3944

Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #aeaa8b ≈ 0.001% of males
Protanopia #baa633 ≈ 1.01% of males
Deuteranopia #bdab46 ≈ 1.27% of males
Tritanopia #c3a095 ≈ 0.0001% of males
Protanomaly #b8a838 ≈ 1.08% of males
Deuteranomaly #baab44 ≈ 4.63% of males
Tritanomaly #bea47c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b6ab40  rgb(182, 171, 64)  hsl(54, 48%, 48%)  Brass
#404bb6  rgb(64, 75, 182)  hsl(234, 48%, 48%)  Ocean Blue
#40b6ab  rgb(64, 182, 171)  hsl(174, 48%, 48%)  Light Sea Green
#ab40b6  rgb(171, 64, 182)  hsl(294, 48%, 48%)  Purpureus