#B8A307

#b8a307 ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #b8a307 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.364

Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #aca381 ≈ 0.001% of males
Protanopia #b49e00 ≈ 1.01% of males
Deuteranopia #baa61d ≈ 1.27% of males
Tritanopia #c7968a ≈ 0.0001% of males
Protanomaly #b6a000 ≈ 1.08% of males
Deuteranomaly #b9a516 ≈ 4.63% of males
Tritanomaly #c19b6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b8a307  rgb(184, 163, 7)  hsl(53, 93%, 37%)  Brass
#071cb8  rgb(7, 28, 184)  hsl(233, 93%, 37%)  Zaffre
#07b8a3  rgb(7, 184, 163)  hsl(173, 93%, 37%)  Light Sea Green
#a307b8  rgb(163, 7, 184)  hsl(293, 93%, 37%)  Dark Orchid