#B5A002

#b5a002 ≈ Brass

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

#b5a002 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 0.78% blue; printed in CMYK it uses 0% cyan, 11.6% magenta, 98.9% yellow and 29.02% black. Its hue angle is 52.96°, with 97.81% saturation and 35.88% 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 7.99:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #b5a002 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.3497

Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a9a07e ≈ 0.001% of males
Protanopia #b19b00 ≈ 1.01% of males
Deuteranopia #b7a31a ≈ 1.27% of males
Tritanopia #c49388 ≈ 0.0001% of males
Protanomaly #b39d00 ≈ 1.08% of males
Deuteranomaly #b6a213 ≈ 4.63% of males
Tritanomaly #be986b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b5a002 {
  color: #b5a002;
}
Background
.bg-b5a002 {
  background-color: #b5a002;
  color: #000000;
}
Border
.border-b5a002 {
  border: 2px solid #b5a002;
}
CSS variables
:root {
  --color-primary: #b5a002;
  --color-primary-rgb: 181 160 2;
  --color-primary-hsl: 53 98% 36%;
}
Gradient
.gradient-b5a002 {
  background: linear-gradient(135deg, #b5a002, #70b502);
}
Colored shadow
.shadow-b5a002 {
  box-shadow: 0 8px 24px rgb(181 160 2 / 0.35);
}

Brass
#b5a002  rgb(181, 160, 2)  hsl(53, 98%, 36%)  Brass
#0217b5  rgb(2, 23, 181)  hsl(233, 98%, 36%)  Zaffre
#02b5a0  rgb(2, 181, 160)  hsl(173, 98%, 36%)  Persian Green
#a002b5  rgb(160, 2, 181)  hsl(293, 98%, 36%)  Dark Violet