#B0A40F

#b0a40f ≈ Brass

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

#b0a40f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 69.02% red, 64.31% green and 5.88% blue; printed in CMYK it uses 0% cyan, 6.82% magenta, 91.48% yellow and 30.98% black. Its hue angle is 55.53°, with 84.29% saturation and 37.45% 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.16:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.29.

Description generated from the measured properties of this color.

Conversions of #b0a40f 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.3582

Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a7a280 ≈ 0.001% of males
Protanopia #b49e00 ≈ 1.01% of males
Deuteranopia #b8a421 ≈ 1.27% of males
Tritanopia #be988b ≈ 0.0001% of males
Protanomaly #b2a000 ≈ 1.08% of males
Deuteranomaly #b5a41b ≈ 4.63% of males
Tritanomaly #b99d6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b0a40f {
  color: #b0a40f;
}
Background
.bg-b0a40f {
  background-color: #b0a40f;
  color: #000000;
}
Border
.border-b0a40f {
  border: 2px solid #b0a40f;
}
CSS variables
:root {
  --color-primary: #b0a40f;
  --color-primary-rgb: 176 164 15;
  --color-primary-hsl: 56 84% 37%;
}
Gradient
.gradient-b0a40f {
  background: linear-gradient(135deg, #b0a40f, #6bb00f);
}
Colored shadow
.shadow-b0a40f {
  box-shadow: 0 8px 24px rgb(176 164 15 / 0.35);
}

Brass
#b0a40f  rgb(176, 164, 15)  hsl(56, 84%, 37%)  Brass
#0f1bb0  rgb(15, 27, 176)  hsl(236, 84%, 37%)  Zaffre
#0fb0a4  rgb(15, 176, 164)  hsl(176, 84%, 37%)  Light Sea Green
#a40fb0  rgb(164, 15, 176)  hsl(296, 84%, 37%)  Dark Orchid