#B8A407

#b8a407 ≈ Brass

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

#b8a407 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 72.16% red, 64.31% green and 2.75% blue; printed in CMYK it uses 0% cyan, 10.87% magenta, 96.2% yellow and 27.84% black. Its hue angle is 53.22°, with 92.67% saturation and 37.45% 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.35:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #b8a407 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.3676

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

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #aca482 ≈ 0.001% of males
Protanopia #b59f00 ≈ 1.01% of males
Deuteranopia #bba71d ≈ 1.27% of males
Tritanopia #c7978b ≈ 0.0001% of males
Protanomaly #b6a100 ≈ 1.08% of males
Deuteranomaly #baa616 ≈ 4.63% of males
Tritanomaly #c19c6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a407 {
  color: #b8a407;
}
Background
.bg-b8a407 {
  background-color: #b8a407;
  color: #000000;
}
Border
.border-b8a407 {
  border: 2px solid #b8a407;
}
CSS variables
:root {
  --color-primary: #b8a407;
  --color-primary-rgb: 184 164 7;
  --color-primary-hsl: 53 93% 37%;
}
Gradient
.gradient-b8a407 {
  background: linear-gradient(135deg, #b8a407, #73b807);
}
Colored shadow
.shadow-b8a407 {
  box-shadow: 0 8px 24px rgb(184 164 7 / 0.35);
}

Brass
#b8a407  rgb(184, 164, 7)  hsl(53, 93%, 37%)  Brass
#071bb8  rgb(7, 27, 184)  hsl(233, 93%, 37%)  Zaffre
#07b8a4  rgb(7, 184, 164)  hsl(173, 93%, 37%)  Light Sea Green
#a407b8  rgb(164, 7, 184)  hsl(293, 93%, 37%)  Dark Orchid