#B7AD4E

#b7ad4e ≈ Brass

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

#b7ad4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.76% red, 67.84% green and 30.59% blue; printed in CMYK it uses 0% cyan, 5.46% magenta, 57.38% yellow and 28.24% black. Its hue angle is 54.29°, with 42.17% saturation and 51.18% 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.1:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.46.

Description generated from the measured properties of this color.

Conversions of #b7ad4e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.405

Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ababab ≈ 0.003% of males
Achromatomaly #b0ac8f ≈ 0.001% of males
Protanopia #bba844 ≈ 1.01% of males
Deuteranopia #bead53 ≈ 1.27% of males
Tritanopia #c3a298 ≈ 0.0001% of males
Protanomaly #b9aa48 ≈ 1.08% of males
Deuteranomaly #bbad51 ≈ 4.63% of males
Tritanomaly #bfa781 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b7ad4e  rgb(183, 173, 78)  hsl(54, 42%, 51%)  Brass
#4e58b7  rgb(78, 88, 183)  hsl(234, 42%, 51%)  Iris
#4eb7ad  rgb(78, 183, 173)  hsl(174, 42%, 51%)  Verdigris
#ad4eb7  rgb(173, 78, 183)  hsl(294, 42%, 51%)  Purpureus