#9E971B

#9e971b ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#9e971b is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 61.96% red, 59.22% green and 10.59% blue; printed in CMYK it uses 0% cyan, 4.43% magenta, 82.91% yellow and 38.04% black. Its hue angle is 56.79°, with 70.81% saturation and 36.27% 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.9:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 6.08.

Description generated from the measured properties of this color.

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

Readable text 3.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #989576 ≈ 0.001% of males
Protanopia #a59100 ≈ 1.01% of males
Deuteranopia #a89627 ≈ 1.27% of males
Tritanopia #aa8c81 ≈ 0.0001% of males
Protanomaly #a29305 ≈ 1.08% of males
Deuteranomaly #a49622 ≈ 4.63% of males
Tritanomaly #a69167 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9e971b {
  color: #9e971b;
}
Background
.bg-9e971b {
  background-color: #9e971b;
  color: #000000;
}
Border
.border-9e971b {
  border: 2px solid #9e971b;
}
CSS variables
:root {
  --color-primary: #9e971b;
  --color-primary-rgb: 158 151 27;
  --color-primary-hsl: 57 71% 36%;
}
Gradient
.gradient-9e971b {
  background: linear-gradient(135deg, #9e971b, #639e1b);
}
Colored shadow
.shadow-9e971b {
  box-shadow: 0 8px 24px rgb(158 151 27 / 0.35);
}

Brass
#9e971b  rgb(158, 151, 27)  hsl(57, 71%, 36%)  Brass
#1b229e  rgb(27, 34, 158)  hsl(237, 71%, 36%)  Imperial Blue
#1b9e97  rgb(27, 158, 151)  hsl(177, 71%, 36%)  Persian Green
#971b9e  rgb(151, 27, 158)  hsl(297, 71%, 36%)  Dark Magenta