#8C8168

#8c8168 ≈ Battleship Gray

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

#8c8168 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 54.9% red, 50.59% green and 40.78% blue; printed in CMYK it uses 0% cyan, 7.86% magenta, 25.71% yellow and 45.1% black. Its hue angle is 41.67°, with 14.75% saturation and 47.84% 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.46:1 (WCAG AA). The closest named color is Battleship Gray (#848482), ΔE 10.35.

Description generated from the measured properties of this color.

Conversions of #8c8168 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.2228

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #868278 ≈ 0.001% of males
Protanopia #878066 ≈ 1.01% of males
Deuteranopia #8a8369 ≈ 1.27% of males
Tritanopia #927d7a ≈ 0.0001% of males
Protanomaly #898067 ≈ 1.08% of males
Deuteranomaly #8b8268 ≈ 4.63% of males
Tritanomaly #907e73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8c8168 {
  color: #8c8168;
}
Background
.bg-8c8168 {
  background-color: #8c8168;
  color: #000000;
}
Border
.border-8c8168 {
  border: 2px solid #8c8168;
}
CSS variables
:root {
  --color-primary: #8c8168;
  --color-primary-rgb: 140 129 104;
  --color-primary-hsl: 42 15% 48%;
}
Gradient
.gradient-8c8168 {
  background: linear-gradient(135deg, #8c8168, #858c68);
}
Colored shadow
.shadow-8c8168 {
  box-shadow: 0 8px 24px rgb(140 129 104 / 0.35);
}

Battleship Gray
#8c8168  rgb(140, 129, 104)  hsl(42, 15%, 48%)  Battleship Gray
#68738c  rgb(104, 115, 140)  hsl(222, 15%, 48%)  Slate Gray
#688c81  rgb(104, 140, 129)  hsl(162, 15%, 48%)  Xanadu
#81688c  rgb(129, 104, 140)  hsl(282, 15%, 48%)  Old Lavender