#B8B221

#b8b221 ≈ Brass

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

#b8b221 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 69.8% green and 12.94% blue; printed in CMYK it uses 0% cyan, 3.26% magenta, 82.07% yellow and 27.84% black. Its hue angle is 57.62°, with 69.59% saturation and 42.55% 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 9.43:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.56.

Description generated from the measured properties of this color.

Conversions of #b8b221 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.4214

Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #b2af8b ≈ 0.001% of males
Protanopia #c2ab00 ≈ 1.01% of males
Deuteranopia #c5b02f ≈ 1.27% of males
Tritanopia #c6a698 ≈ 0.0001% of males
Protanomaly #beae06 ≈ 1.08% of males
Deuteranomaly #c0b12a ≈ 4.63% of males
Tritanomaly #c1ab7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8b221 {
  color: #b8b221;
}
Background
.bg-b8b221 {
  background-color: #b8b221;
  color: #000000;
}
Border
.border-b8b221 {
  border: 2px solid #b8b221;
}
CSS variables
:root {
  --color-primary: #b8b221;
  --color-primary-rgb: 184 178 33;
  --color-primary-hsl: 58 70% 43%;
}
Gradient
.gradient-b8b221 {
  background: linear-gradient(135deg, #b8b221, #72b821);
}
Colored shadow
.shadow-b8b221 {
  box-shadow: 0 8px 24px rgb(184 178 33 / 0.35);
}

Brass
#b8b221  rgb(184, 178, 33)  hsl(58, 70%, 43%)  Brass
#2127b8  rgb(33, 39, 184)  hsl(238, 70%, 43%)  Zaffre
#21b8b2  rgb(33, 184, 178)  hsl(178, 70%, 43%)  Tiffany Blue
#b221b8  rgb(178, 33, 184)  hsl(298, 70%, 43%)  Dark Orchid