#B5A62E

#b5a62e ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#b5a62e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 70.98% red, 65.1% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.29% magenta, 74.59% yellow and 29.02% black. Its hue angle is 53.33°, with 59.47% saturation and 44.51% 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 brand accents. Black text on this color reaches a contrast ratio of 8.46:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.26.

Description generated from the measured properties of this color.

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

Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #aba585 ≈ 0.001% of males
Protanopia #b6a117 ≈ 1.01% of males
Deuteranopia #baa736 ≈ 1.27% of males
Tritanopia #c39a8f ≈ 0.0001% of males
Protanomaly #b5a322 ≈ 1.08% of males
Deuteranomaly #b8a733 ≈ 4.63% of males
Tritanomaly #be9f74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b5a62e {
  color: #b5a62e;
}
Background
.bg-b5a62e {
  background-color: #b5a62e;
  color: #000000;
}
Border
.border-b5a62e {
  border: 2px solid #b5a62e;
}
CSS variables
:root {
  --color-primary: #b5a62e;
  --color-primary-rgb: 181 166 46;
  --color-primary-hsl: 53 59% 45%;
}
Gradient
.gradient-b5a62e {
  background: linear-gradient(135deg, #b5a62e, #81b52e);
}
Colored shadow
.shadow-b5a62e {
  box-shadow: 0 8px 24px rgb(181 166 46 / 0.35);
}

Brass
#b5a62e  rgb(181, 166, 46)  hsl(53, 59%, 45%)  Brass
#2e3db5  rgb(46, 61, 181)  hsl(233, 59%, 45%)  Persian Blue
#2eb5a6  rgb(46, 181, 166)  hsl(173, 59%, 45%)  Light Sea Green
#a62eb5  rgb(166, 46, 181)  hsl(293, 59%, 45%)  Dark Orchid