#B2A306

#b2a306 ≈ Brass

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

#b2a306 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 63.92% green and 2.35% blue; printed in CMYK it uses 0% cyan, 8.43% magenta, 96.63% yellow and 30.2% black. Its hue angle is 54.77°, with 93.48% saturation and 36.08% 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.13:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #b2a306 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.3567

Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a8a280 ≈ 0.001% of males
Protanopia #b39d00 ≈ 1.01% of males
Deuteranopia #b8a41d ≈ 1.27% of males
Tritanopia #c1968a ≈ 0.0001% of males
Protanomaly #b3a000 ≈ 1.08% of males
Deuteranomaly #b6a416 ≈ 4.63% of males
Tritanomaly #bb9c6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b2a306  rgb(178, 163, 6)  hsl(55, 93%, 36%)  Brass
#0615b2  rgb(6, 21, 178)  hsl(235, 93%, 36%)  Zaffre
#06b2a3  rgb(6, 178, 163)  hsl(175, 93%, 36%)  Light Sea Green
#a306b2  rgb(163, 6, 178)  hsl(295, 93%, 36%)  Dark Orchid