#B8A003

#b8a003 ≈ Brass

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

#b8a003 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 1.18% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 98.37% yellow and 27.84% black. Its hue angle is 52.04°, with 96.79% saturation and 36.67% 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.18.

Description generated from the measured properties of this color.

Conversions of #b8a003 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.3534

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 #b8a41a ≈ 1.27% of males
Tritanopia #c89388 ≈ 0.0001% of males
Protanomaly #b49d00 ≈ 1.08% of males
Deuteranomaly #b8a213 ≈ 4.63% of males
Tritanomaly #c2986b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b8a003  rgb(184, 160, 3)  hsl(52, 97%, 37%)  Brass
#031bb8  rgb(3, 27, 184)  hsl(232, 97%, 37%)  Zaffre
#03b8a0  rgb(3, 184, 160)  hsl(172, 97%, 37%)  Persian Green
#a003b8  rgb(160, 3, 184)  hsl(292, 97%, 37%)  Dark Violet