#9C8F4E

#9c8f4e ≈ Brass

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

#9c8f4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 61.18% red, 56.08% green and 30.59% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 50% yellow and 38.82% black. Its hue angle is 50°, with 33.33% saturation and 45.88% 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 6.45:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 8.91.

Description generated from the measured properties of this color.

Conversions of #9c8f4e 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.2726

Readable text 3.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #948f7a ≈ 0.001% of males
Protanopia #9a8c48 ≈ 1.01% of males
Deuteranopia #9e9151 ≈ 1.27% of males
Tritanopia #a68780 ≈ 0.0001% of males
Protanomaly #9b8d4b ≈ 1.08% of males
Deuteranomaly #9d9050 ≈ 4.63% of males
Tritanomaly #a28a6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9c8f4e {
  color: #9c8f4e;
}
Background
.bg-9c8f4e {
  background-color: #9c8f4e;
  color: #000000;
}
Border
.border-9c8f4e {
  border: 2px solid #9c8f4e;
}
CSS variables
:root {
  --color-primary: #9c8f4e;
  --color-primary-rgb: 156 143 78;
  --color-primary-hsl: 50 33% 46%;
}
Gradient
.gradient-9c8f4e {
  background: linear-gradient(135deg, #9c8f4e, #829c4e);
}
Colored shadow
.shadow-9c8f4e {
  box-shadow: 0 8px 24px rgb(156 143 78 / 0.35);
}

Brass
#9c8f4e  rgb(156, 143, 78)  hsl(50, 33%, 46%)  Brass
#4e5b9c  rgb(78, 91, 156)  hsl(230, 33%, 46%)  Sapphire
#4e9c8f  rgb(78, 156, 143)  hsl(170, 33%, 46%)  Persian Green
#8f4e9c  rgb(143, 78, 156)  hsl(290, 33%, 46%)  Purpureus