#B8A421

#b8a421 ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #b8a421 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.3685

Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #aca483 ≈ 0.001% of males
Protanopia #b59f00 ≈ 1.01% of males
Deuteranopia #baa72c ≈ 1.27% of males
Tritanopia #c7978c ≈ 0.0001% of males
Protanomaly #b6a10d ≈ 1.08% of males
Deuteranomaly #b9a628 ≈ 4.63% of males
Tritanomaly #c19c71 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b8a421  rgb(184, 164, 33)  hsl(52, 70%, 43%)  Brass
#2135b8  rgb(33, 53, 184)  hsl(232, 70%, 43%)  Persian Blue
#21b8a4  rgb(33, 184, 164)  hsl(172, 70%, 43%)  Light Sea Green
#a421b8  rgb(164, 33, 184)  hsl(292, 70%, 43%)  Dark Orchid