#8A8366

#8a8366 ≈ Battleship Gray

  • yellow
  • Lightness: medium
  • Saturation: muted
  • Warm

#8a8366 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 51.37% green and 40% blue; printed in CMYK it uses 0% cyan, 5.07% magenta, 26.09% yellow and 45.88% black. Its hue angle is 48.33°, with 15% saturation and 47.06% 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 5.52:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 11.26.

Description generated from the measured properties of this color.

Conversions of #8a8366 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.226

Readable text 3.81:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #868378 ≈ 0.001% of males
Protanopia #898164 ≈ 1.01% of males
Deuteranopia #8b8467 ≈ 1.27% of males
Tritanopia #907f7b ≈ 0.0001% of males
Protanomaly #898265 ≈ 1.08% of males
Deuteranomaly #8b8467 ≈ 4.63% of males
Tritanomaly #8d8073 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a8366 {
  color: #8a8366;
}
Background
.bg-8a8366 {
  background-color: #8a8366;
  color: #000000;
}
Border
.border-8a8366 {
  border: 2px solid #8a8366;
}
CSS variables
:root {
  --color-primary: #8a8366;
  --color-primary-rgb: 138 131 102;
  --color-primary-hsl: 48 15% 47%;
}
Gradient
.gradient-8a8366 {
  background: linear-gradient(135deg, #8a8366, #7f8a66);
}
Colored shadow
.shadow-8a8366 {
  box-shadow: 0 8px 24px rgb(138 131 102 / 0.35);
}

Battleship Gray
#8a8366  rgb(138, 131, 102)  hsl(48, 15%, 47%)  Battleship Gray
#666d8a  rgb(102, 109, 138)  hsl(228, 15%, 47%)  Queen Blue
#668a83  rgb(102, 138, 131)  hsl(168, 15%, 47%)  Xanadu
#83668a  rgb(131, 102, 138)  hsl(288, 15%, 47%)  Old Lavender