#BBAB21

#bbab21 ≈ Brass

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

#bbab21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 73.33% red, 67.06% green and 12.94% blue; printed in CMYK it uses 0% cyan, 8.56% magenta, 82.35% yellow and 26.67% black. Its hue angle is 53.77°, with 70% saturation and 43.14% 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.96:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.02.

Description generated from the measured properties of this color.

Conversions of #bbab21 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.398

Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #b1aa88 ≈ 0.001% of males
Protanopia #bca500 ≈ 1.01% of males
Deuteranopia #c0ac2d ≈ 1.27% of males
Tritanopia #ca9e92 ≈ 0.0001% of males
Protanomaly #bba809 ≈ 1.08% of males
Deuteranomaly #beac29 ≈ 4.63% of males
Tritanomaly #c4a375 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bbab21 {
  color: #bbab21;
}
Background
.bg-bbab21 {
  background-color: #bbab21;
  color: #000000;
}
Border
.border-bbab21 {
  border: 2px solid #bbab21;
}
CSS variables
:root {
  --color-primary: #bbab21;
  --color-primary-rgb: 187 171 33;
  --color-primary-hsl: 54 70% 43%;
}
Gradient
.gradient-bbab21 {
  background: linear-gradient(135deg, #bbab21, #7ebb21);
}
Colored shadow
.shadow-bbab21 {
  box-shadow: 0 8px 24px rgb(187 171 33 / 0.35);
}

Brass
#bbab21  rgb(187, 171, 33)  hsl(54, 70%, 43%)  Brass
#2131bb  rgb(33, 49, 187)  hsl(234, 70%, 43%)  Persian Blue
#21bbab  rgb(33, 187, 171)  hsl(174, 70%, 43%)  Light Sea Green
#ab21bb  rgb(171, 33, 187)  hsl(294, 70%, 43%)  Dark Orchid