#B2A40A

#b2a40a ≈ Brass

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

#b2a40a is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 64.31% green and 3.92% blue; printed in CMYK it uses 0% cyan, 7.87% magenta, 94.38% yellow and 30.2% black. Its hue angle is 55°, with 89.36% saturation and 36.86% 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.21:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.4.

Description generated from the measured properties of this color.

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

Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #a9a380 ≈ 0.001% of males
Protanopia #b49e00 ≈ 1.01% of males
Deuteranopia #b9a51f ≈ 1.27% of males
Tritanopia #c0978b ≈ 0.0001% of males
Protanomaly #b3a100 ≈ 1.08% of males
Deuteranomaly #b6a418 ≈ 4.63% of males
Tritanomaly #bb9d6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2a40a {
  color: #b2a40a;
}
Background
.bg-b2a40a {
  background-color: #b2a40a;
  color: #000000;
}
Border
.border-b2a40a {
  border: 2px solid #b2a40a;
}
CSS variables
:root {
  --color-primary: #b2a40a;
  --color-primary-rgb: 178 164 10;
  --color-primary-hsl: 55 89% 37%;
}
Gradient
.gradient-b2a40a {
  background: linear-gradient(135deg, #b2a40a, #6cb20a);
}
Colored shadow
.shadow-b2a40a {
  box-shadow: 0 8px 24px rgb(178 164 10 / 0.35);
}

Brass
#b2a40a  rgb(178, 164, 10)  hsl(55, 89%, 37%)  Brass
#0a18b2  rgb(10, 24, 178)  hsl(235, 89%, 37%)  Zaffre
#0ab2a4  rgb(10, 178, 164)  hsl(175, 89%, 37%)  Light Sea Green
#a40ab2  rgb(164, 10, 178)  hsl(295, 89%, 37%)  Dark Orchid