#B4A620

#b4a620 ≈ Brass

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

#b4a620 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 70.59% red, 65.1% green and 12.55% blue; printed in CMYK it uses 0% cyan, 7.78% magenta, 82.22% yellow and 29.41% black. Its hue angle is 54.32°, with 69.81% saturation and 41.57% 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.42:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #b4a620 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.3708

Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #aba583 ≈ 0.001% of males
Protanopia #b6a000 ≈ 1.01% of males
Deuteranopia #baa72c ≈ 1.27% of males
Tritanopia #c29a8e ≈ 0.0001% of males
Protanomaly #b5a309 ≈ 1.08% of males
Deuteranomaly #b8a628 ≈ 4.63% of males
Tritanomaly #bd9f72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b4a620 {
  color: #b4a620;
}
Background
.bg-b4a620 {
  background-color: #b4a620;
  color: #000000;
}
Border
.border-b4a620 {
  border: 2px solid #b4a620;
}
CSS variables
:root {
  --color-primary: #b4a620;
  --color-primary-rgb: 180 166 32;
  --color-primary-hsl: 54 70% 42%;
}
Gradient
.gradient-b4a620 {
  background: linear-gradient(135deg, #b4a620, #78b420);
}
Colored shadow
.shadow-b4a620 {
  box-shadow: 0 8px 24px rgb(180 166 32 / 0.35);
}

Brass
#b4a620  rgb(180, 166, 32)  hsl(54, 70%, 42%)  Brass
#202eb4  rgb(32, 46, 180)  hsl(234, 70%, 42%)  Persian Blue
#20b4a6  rgb(32, 180, 166)  hsl(174, 70%, 42%)  Light Sea Green
#a620b4  rgb(166, 32, 180)  hsl(294, 70%, 42%)  Dark Orchid