#B5A011

#b5a011 ≈ Brass

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

#b5a011 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 70.98% red, 62.75% green and 6.67% blue; printed in CMYK it uses 0% cyan, 11.6% magenta, 90.61% yellow and 29.02% black. Its hue angle is 52.32°, with 82.83% saturation and 38.82% 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:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.45.

Description generated from the measured properties of this color.

Conversions of #b5a011 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.3501

Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a9a07f ≈ 0.001% of males
Protanopia #b19b00 ≈ 1.01% of males
Deuteranopia #b7a321 ≈ 1.27% of males
Tritanopia #c49388 ≈ 0.0001% of males
Protanomaly #b39d00 ≈ 1.08% of males
Deuteranomaly #b6a21b ≈ 4.63% of males
Tritanomaly #be986c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b5a011  rgb(181, 160, 17)  hsl(52, 83%, 39%)  Brass
#1126b5  rgb(17, 38, 181)  hsl(232, 83%, 39%)  Zaffre
#11b5a0  rgb(17, 181, 160)  hsl(172, 83%, 39%)  Persian Green
#a011b5  rgb(160, 17, 181)  hsl(292, 83%, 39%)  Dark Orchid