#B8A71D

#b8a71d ≈ Brass

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

#b8a71d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 65.49% green and 11.37% blue; printed in CMYK it uses 0% cyan, 9.24% magenta, 84.24% yellow and 27.84% black. Its hue angle is 53.42°, with 72.77% saturation and 41.76% 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.58:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.75.

Description generated from the measured properties of this color.

Conversions of #b8a71d 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.3792

Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #ada684 ≈ 0.001% of males
Protanopia #b8a200 ≈ 1.01% of males
Deuteranopia #bca92a ≈ 1.27% of males
Tritanopia #c79a8f ≈ 0.0001% of males
Protanomaly #b8a401 ≈ 1.08% of males
Deuteranomaly #bba825 ≈ 4.63% of males
Tritanomaly #c19f72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a71d {
  color: #b8a71d;
}
Background
.bg-b8a71d {
  background-color: #b8a71d;
  color: #000000;
}
Border
.border-b8a71d {
  border: 2px solid #b8a71d;
}
CSS variables
:root {
  --color-primary: #b8a71d;
  --color-primary-rgb: 184 167 29;
  --color-primary-hsl: 53 73% 42%;
}
Gradient
.gradient-b8a71d {
  background: linear-gradient(135deg, #b8a71d, #7bb81d);
}
Colored shadow
.shadow-b8a71d {
  box-shadow: 0 8px 24px rgb(184 167 29 / 0.35);
}

Brass
#b8a71d  rgb(184, 167, 29)  hsl(53, 73%, 42%)  Brass
#1d2eb8  rgb(29, 46, 184)  hsl(233, 73%, 42%)  Persian Blue
#1db8a7  rgb(29, 184, 167)  hsl(173, 73%, 42%)  Light Sea Green
#a71db8  rgb(167, 29, 184)  hsl(293, 73%, 42%)  Dark Orchid