#BBAF42

#bbaf42 ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#bbaf42 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 73.33% red, 68.63% green and 25.88% blue; printed in CMYK it uses 0% cyan, 6.42% magenta, 64.71% yellow and 26.67% black. Its hue angle is 54.05°, with 47.83% saturation and 49.61% 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 9.32:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #bbaf42 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.4162

Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #b3ae8e ≈ 0.001% of males
Protanopia #beaa34 ≈ 1.01% of males
Deuteranopia #c2af48 ≈ 1.27% of males
Tritanopia #c9a398 ≈ 0.0001% of males
Protanomaly #bdac3a ≈ 1.08% of males
Deuteranomaly #bfaf46 ≈ 4.63% of males
Tritanomaly #c3a87f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bbaf42 {
  color: #bbaf42;
}
Background
.bg-bbaf42 {
  background-color: #bbaf42;
  color: #000000;
}
Border
.border-bbaf42 {
  border: 2px solid #bbaf42;
}
CSS variables
:root {
  --color-primary: #bbaf42;
  --color-primary-rgb: 187 175 66;
  --color-primary-hsl: 54 48% 50%;
}
Gradient
.gradient-bbaf42 {
  background: linear-gradient(135deg, #bbaf42, #8bbb42);
}
Colored shadow
.shadow-bbaf42 {
  box-shadow: 0 8px 24px rgb(187 175 66 / 0.35);
}

Brass
#bbaf42  rgb(187, 175, 66)  hsl(54, 48%, 50%)  Brass
#424ebb  rgb(66, 78, 187)  hsl(234, 48%, 50%)  Ocean Blue
#42bbaf  rgb(66, 187, 175)  hsl(174, 48%, 50%)  Tiffany Blue
#af42bb  rgb(175, 66, 187)  hsl(294, 48%, 50%)  Purpureus