#B7AF5A

#b7af5a ≈ Dark Khaki

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

#b7af5a 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 35.29% blue; printed in CMYK it uses 0% cyan, 4.37% magenta, 50.82% yellow and 28.24% black. Its hue angle is 54.84°, with 39.24% saturation and 53.53% 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.29:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 2.81.

Description generated from the measured properties of this color.

Conversions of #b7af5a 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.4147

Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #b1ad93 ≈ 0.001% of males
Protanopia #bcaa52 ≈ 1.01% of males
Deuteranopia #bfae5e ≈ 1.27% of males
Tritanopia #c3a59b ≈ 0.0001% of males
Protanomaly #baac56 ≈ 1.08% of males
Deuteranomaly #bcaf5c ≈ 4.63% of males
Tritanomaly #bea986 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Khaki
#b7af5a  rgb(183, 175, 90)  hsl(55, 39%, 54%)  Dark Khaki
#5a62b7  rgb(90, 98, 183)  hsl(235, 39%, 54%)  Slate Blue
#5ab7af  rgb(90, 183, 175)  hsl(175, 39%, 54%)  Verdigris
#af5ab7  rgb(175, 90, 183)  hsl(295, 39%, 54%)  Medium Orchid