#B8A54E

#b8a54e ≈ Brass

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

#b8a54e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 64.71% green and 30.59% blue; printed in CMYK it uses 0% cyan, 10.33% magenta, 57.61% yellow and 27.84% black. Its hue angle is 49.25°, with 42.74% saturation and 51.37% 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.53:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #b8a54e 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.3765

Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #ada58b ≈ 0.001% of males
Protanopia #b3a145 ≈ 1.01% of males
Deuteranopia #b9a852 ≈ 1.27% of males
Tritanopia #c59a92 ≈ 0.0001% of males
Protanomaly #b5a349 ≈ 1.08% of males
Deuteranomaly #b8a750 ≈ 4.63% of males
Tritanomaly #c09f7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a54e {
  color: #b8a54e;
}
Background
.bg-b8a54e {
  background-color: #b8a54e;
  color: #000000;
}
Border
.border-b8a54e {
  border: 2px solid #b8a54e;
}
CSS variables
:root {
  --color-primary: #b8a54e;
  --color-primary-rgb: 184 165 78;
  --color-primary-hsl: 49 43% 51%;
}
Gradient
.gradient-b8a54e {
  background: linear-gradient(135deg, #b8a54e, #96b84e);
}
Colored shadow
.shadow-b8a54e {
  box-shadow: 0 8px 24px rgb(184 165 78 / 0.35);
}

Brass
#b8a54e  rgb(184, 165, 78)  hsl(49, 43%, 51%)  Brass
#4e61b8  rgb(78, 97, 184)  hsl(229, 43%, 51%)  Royal Blue
#4eb8a5  rgb(78, 184, 165)  hsl(169, 43%, 51%)  Light Sea Green
#a54eb8  rgb(165, 78, 184)  hsl(289, 43%, 51%)  Purpureus