#B7AC2F

#b7ac2f ≈ Brass

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

#b7ac2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 71.76% red, 67.45% green and 18.43% blue; printed in CMYK it uses 0% cyan, 6.01% magenta, 74.32% yellow and 28.24% black. Its hue angle is 55.15°, with 59.13% saturation and 45.1% 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.96:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #b7ac2f 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.3978

Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #afaa89 ≈ 0.001% of males
Protanopia #bca616 ≈ 1.01% of males
Deuteranopia #bfac38 ≈ 1.27% of males
Tritanopia #c5a094 ≈ 0.0001% of males
Protanomaly #baa822 ≈ 1.08% of males
Deuteranomaly #bcac35 ≈ 4.63% of males
Tritanomaly #c0a578 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b7ac2f {
  color: #b7ac2f;
}
Background
.bg-b7ac2f {
  background-color: #b7ac2f;
  color: #000000;
}
Border
.border-b7ac2f {
  border: 2px solid #b7ac2f;
}
CSS variables
:root {
  --color-primary: #b7ac2f;
  --color-primary-rgb: 183 172 47;
  --color-primary-hsl: 55 59% 45%;
}
Gradient
.gradient-b7ac2f {
  background: linear-gradient(135deg, #b7ac2f, #7eb72f);
}
Colored shadow
.shadow-b7ac2f {
  box-shadow: 0 8px 24px rgb(183 172 47 / 0.35);
}

Brass
#b7ac2f  rgb(183, 172, 47)  hsl(55, 59%, 45%)  Brass
#2f3ab7  rgb(47, 58, 183)  hsl(235, 59%, 45%)  Persian Blue
#2fb7ac  rgb(47, 183, 172)  hsl(175, 59%, 45%)  Light Sea Green
#ac2fb7  rgb(172, 47, 183)  hsl(295, 59%, 45%)  Dark Orchid