#B7AF4E

#b7af4e ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #b7af4e 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.4128

Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #b1ad90 ≈ 0.001% of males
Protanopia #bda944 ≈ 1.01% of males
Deuteranopia #c0ae53 ≈ 1.27% of males
Tritanopia #c3a49a ≈ 0.0001% of males
Protanomaly #bbac48 ≈ 1.08% of males
Deuteranomaly #bcaf51 ≈ 4.63% of males
Tritanomaly #bfa982 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#b7af4e  rgb(183, 175, 78)  hsl(55, 42%, 51%)  Brass
#4e56b7  rgb(78, 86, 183)  hsl(235, 42%, 51%)  Iris
#4eb7af  rgb(78, 183, 175)  hsl(175, 42%, 51%)  Verdigris
#af4eb7  rgb(175, 78, 183)  hsl(295, 42%, 51%)  Purpureus