#B8A008

#b8a008 ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#b8a008 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 72.16% red, 62.75% green and 3.14% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 95.65% yellow and 27.84% black. Its hue angle is 51.82°, with 91.67% saturation and 37.65% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.07:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #b8a008 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9900
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3535

Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #aaa07f ≈ 0.001% of males
Protanopia #b29c00 ≈ 1.01% of males
Deuteranopia #b8a41c ≈ 1.27% of males
Tritanopia #c89388 ≈ 0.0001% of males
Protanomaly #b49d00 ≈ 1.08% of males
Deuteranomaly #b8a216 ≈ 4.63% of males
Tritanomaly #c1986c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a008 {
  color: #b8a008;
}
Background
.bg-b8a008 {
  background-color: #b8a008;
  color: #000000;
}
Border
.border-b8a008 {
  border: 2px solid #b8a008;
}
CSS variables
:root {
  --color-primary: #b8a008;
  --color-primary-rgb: 184 160 8;
  --color-primary-hsl: 52 92% 38%;
}
Gradient
.gradient-b8a008 {
  background: linear-gradient(135deg, #b8a008, #78b808);
}
Colored shadow
.shadow-b8a008 {
  box-shadow: 0 8px 24px rgb(184 160 8 / 0.35);
}

Brass
#b8a008  rgb(184, 160, 8)  hsl(52, 92%, 38%)  Brass
#0820b8  rgb(8, 32, 184)  hsl(232, 92%, 38%)  Zaffre
#08b8a0  rgb(8, 184, 160)  hsl(172, 92%, 38%)  Persian Green
#a008b8  rgb(160, 8, 184)  hsl(292, 92%, 38%)  Dark Violet