#B7AB2E

#b7ab2e ≈ Brass

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

#b7ab2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 71.76% red, 67.06% green and 18.04% blue; printed in CMYK it uses 0% cyan, 6.56% magenta, 74.86% yellow and 28.24% black. Its hue angle is 54.74°, with 59.83% saturation and 44.9% 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.88:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.07.

Description generated from the measured properties of this color.

Conversions of #b7ab2e 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.3939

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

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #aea988 ≈ 0.001% of males
Protanopia #bba515 ≈ 1.01% of males
Deuteranopia #bfab37 ≈ 1.27% of males
Tritanopia #c59f93 ≈ 0.0001% of males
Protanomaly #b9a821 ≈ 1.08% of males
Deuteranomaly #bcab34 ≈ 4.63% of males
Tritanomaly #c0a478 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b7ab2e {
  color: #b7ab2e;
}
Background
.bg-b7ab2e {
  background-color: #b7ab2e;
  color: #000000;
}
Border
.border-b7ab2e {
  border: 2px solid #b7ab2e;
}
CSS variables
:root {
  --color-primary: #b7ab2e;
  --color-primary-rgb: 183 171 46;
  --color-primary-hsl: 55 60% 45%;
}
Gradient
.gradient-b7ab2e {
  background: linear-gradient(135deg, #b7ab2e, #7fb72e);
}
Colored shadow
.shadow-b7ab2e {
  box-shadow: 0 8px 24px rgb(183 171 46 / 0.35);
}

Brass
#b7ab2e  rgb(183, 171, 46)  hsl(55, 60%, 45%)  Brass
#2e3ab7  rgb(46, 58, 183)  hsl(235, 60%, 45%)  Persian Blue
#2eb7ab  rgb(46, 183, 171)  hsl(175, 60%, 45%)  Light Sea Green
#ab2eb7  rgb(171, 46, 183)  hsl(295, 60%, 45%)  Dark Orchid