#B7A045

#b7a045 ≈ Brass

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

#b7a045 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.76% red, 62.75% green and 27.06% blue; printed in CMYK it uses 0% cyan, 12.57% magenta, 62.3% yellow and 28.24% black. Its hue angle is 47.89°, with 45.24% saturation and 49.41% 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.13:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.04.

Description generated from the measured properties of this color.

Conversions of #b7a045 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.3564

Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #aaa186 ≈ 0.001% of males
Protanopia #af9d3b ≈ 1.01% of males
Deuteranopia #b5a449 ≈ 1.27% of males
Tritanopia #c5958c ≈ 0.0001% of males
Protanomaly #b29e3f ≈ 1.08% of males
Deuteranomaly #b6a248 ≈ 4.63% of males
Tritanomaly #bf9976 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b7a045 {
  color: #b7a045;
}
Background
.bg-b7a045 {
  background-color: #b7a045;
  color: #000000;
}
Border
.border-b7a045 {
  border: 2px solid #b7a045;
}
CSS variables
:root {
  --color-primary: #b7a045;
  --color-primary-rgb: 183 160 69;
  --color-primary-hsl: 48 45% 49%;
}
Gradient
.gradient-b7a045 {
  background: linear-gradient(135deg, #b7a045, #95b745);
}
Colored shadow
.shadow-b7a045 {
  box-shadow: 0 8px 24px rgb(183 160 69 / 0.35);
}

Brass
#b7a045  rgb(183, 160, 69)  hsl(48, 45%, 49%)  Brass
#455cb7  rgb(69, 92, 183)  hsl(228, 45%, 49%)  Sapphire
#45b7a0  rgb(69, 183, 160)  hsl(168, 45%, 49%)  Light Sea Green
#a045b7  rgb(160, 69, 183)  hsl(288, 45%, 49%)  Purpureus