#B8B166

#b8b166 ≈ Dark Khaki

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

#b8b166 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 69.41% green and 40% blue; printed in CMYK it uses 0% cyan, 3.8% magenta, 44.57% yellow and 27.84% black. Its hue angle is 54.88°, with 36.61% saturation and 56.08% 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.52:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 1.63.

Description generated from the measured properties of this color.

Conversions of #b8b166 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.4259

Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #b2b097 ≈ 0.001% of males
Protanopia #bdac60 ≈ 1.01% of males
Deuteranopia #c0b069 ≈ 1.27% of males
Tritanopia #c3a89f ≈ 0.0001% of males
Protanomaly #bbae62 ≈ 1.08% of males
Deuteranomaly #bdb168 ≈ 4.63% of males
Tritanomaly #bfac8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8b166 {
  color: #b8b166;
}
Background
.bg-b8b166 {
  background-color: #b8b166;
  color: #000000;
}
Border
.border-b8b166 {
  border: 2px solid #b8b166;
}
CSS variables
:root {
  --color-primary: #b8b166;
  --color-primary-rgb: 184 177 102;
  --color-primary-hsl: 55 37% 56%;
}
Gradient
.gradient-b8b166 {
  background: linear-gradient(135deg, #b8b166, #96b866);
}
Colored shadow
.shadow-b8b166 {
  box-shadow: 0 8px 24px rgb(184 177 102 / 0.35);
}

Dark Khaki
#b8b166  rgb(184, 177, 102)  hsl(55, 37%, 56%)  Dark Khaki
#666db8  rgb(102, 109, 184)  hsl(235, 37%, 56%)  Slate Blue
#66b8b1  rgb(102, 184, 177)  hsl(175, 37%, 56%)  Verdigris
#b166b8  rgb(177, 102, 184)  hsl(295, 37%, 56%)  Medium Orchid