#B8A84B

#b8a84b ≈ Brass

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

#b8a84b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 65.88% green and 29.41% blue; printed in CMYK it uses 0% cyan, 8.7% magenta, 59.24% yellow and 27.84% black. Its hue angle is 51.19°, with 43.43% saturation and 50.78% 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.74:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.22.

Description generated from the measured properties of this color.

Conversions of #b8a84b 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.387

Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aea78c ≈ 0.001% of males
Protanopia #b7a441 ≈ 1.01% of males
Deuteranopia #bbaa50 ≈ 1.27% of males
Tritanopia #c59d94 ≈ 0.0001% of males
Protanomaly #b7a545 ≈ 1.08% of males
Deuteranomaly #baa94e ≈ 4.63% of males
Tritanomaly #c0a27d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a84b {
  color: #b8a84b;
}
Background
.bg-b8a84b {
  background-color: #b8a84b;
  color: #000000;
}
Border
.border-b8a84b {
  border: 2px solid #b8a84b;
}
CSS variables
:root {
  --color-primary: #b8a84b;
  --color-primary-rgb: 184 168 75;
  --color-primary-hsl: 51 43% 51%;
}
Gradient
.gradient-b8a84b {
  background: linear-gradient(135deg, #b8a84b, #91b84b);
}
Colored shadow
.shadow-b8a84b {
  box-shadow: 0 8px 24px rgb(184 168 75 / 0.35);
}

Brass
#b8a84b  rgb(184, 168, 75)  hsl(51, 43%, 51%)  Brass
#4b5bb8  rgb(75, 91, 184)  hsl(231, 43%, 51%)  Sapphire
#4bb8a8  rgb(75, 184, 168)  hsl(171, 43%, 51%)  Light Sea Green
#a84bb8  rgb(168, 75, 184)  hsl(291, 43%, 51%)  Purpureus