#B6AB4E

#b6ab4e ≈ Brass

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

#b6ab4e 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 30.59% blue; printed in CMYK it uses 0% cyan, 6.04% magenta, 57.14% yellow and 28.63% black. Its hue angle is 53.65°, with 41.6% saturation and 50.98% 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.92:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.04.

Description generated from the measured properties of this color.

Conversions of #b6ab4e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3962

Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.92:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #aeaa8d ≈ 0.001% of males
Protanopia #b9a645 ≈ 1.01% of males
Deuteranopia #bcab53 ≈ 1.27% of males
Tritanopia #c2a096 ≈ 0.0001% of males
Protanomaly #b8a849 ≈ 1.08% of males
Deuteranomaly #baab51 ≈ 4.63% of males
Tritanomaly #bea580 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b6ab4e  rgb(182, 171, 78)  hsl(54, 42%, 51%)  Brass
#4e59b6  rgb(78, 89, 182)  hsl(234, 42%, 51%)  Iris
#4eb6ab  rgb(78, 182, 171)  hsl(174, 42%, 51%)  Verdigris
#ab4eb6  rgb(171, 78, 182)  hsl(294, 42%, 51%)  Purpureus