#B4AA02

#b4aa02 ≈ Brass

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

#b4aa02 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 66.67% green and 0.78% blue; printed in CMYK it uses 0% cyan, 5.56% magenta, 98.89% yellow and 29.41% black. Its hue angle is 56.63°, with 97.8% saturation and 35.69% 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.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.14.

Description generated from the measured properties of this color.

Conversions of #b4aa02 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.3846

Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aca884 ≈ 0.001% of males
Protanopia #baa300 ≈ 1.01% of males
Deuteranopia #bea91d ≈ 1.27% of males
Tritanopia #c29d90 ≈ 0.0001% of males
Protanomaly #b8a600 ≈ 1.08% of males
Deuteranomaly #baaa15 ≈ 4.63% of males
Tritanomaly #bda372 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b4aa02 {
  color: #b4aa02;
}
Background
.bg-b4aa02 {
  background-color: #b4aa02;
  color: #000000;
}
Border
.border-b4aa02 {
  border: 2px solid #b4aa02;
}
CSS variables
:root {
  --color-primary: #b4aa02;
  --color-primary-rgb: 180 170 2;
  --color-primary-hsl: 57 98% 36%;
}
Gradient
.gradient-b4aa02 {
  background: linear-gradient(135deg, #b4aa02, #65b402);
}
Colored shadow
.shadow-b4aa02 {
  box-shadow: 0 8px 24px rgb(180 170 2 / 0.35);
}

Brass
#b4aa02  rgb(180, 170, 2)  hsl(57, 98%, 36%)  Brass
#020cb4  rgb(2, 12, 180)  hsl(237, 98%, 36%)  Zaffre
#02b4aa  rgb(2, 180, 170)  hsl(177, 98%, 36%)  Light Sea Green
#aa02b4  rgb(170, 2, 180)  hsl(297, 98%, 36%)  Dark Orchid