#AF9B4E

#af9b4e ≈ Brass

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

#af9b4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 60.78% green and 30.59% blue; printed in CMYK it uses 0% cyan, 11.43% magenta, 55.43% yellow and 31.37% black. Its hue angle is 47.63°, with 38.34% saturation and 49.61% 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 7.62:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #af9b4e 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.3311

Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9c9c9c ≈ 0.003% of males
Achromatomaly #a49b84 ≈ 0.001% of males
Protanopia #a99847 ≈ 1.01% of males
Deuteranopia #ae9e51 ≈ 1.27% of males
Tritanopia #bb9189 ≈ 0.0001% of males
Protanomaly #ab994a ≈ 1.08% of males
Deuteranomaly #ae9d50 ≈ 4.63% of males
Tritanomaly #b79576 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af9b4e {
  color: #af9b4e;
}
Background
.bg-af9b4e {
  background-color: #af9b4e;
  color: #000000;
}
Border
.border-af9b4e {
  border: 2px solid #af9b4e;
}
CSS variables
:root {
  --color-primary: #af9b4e;
  --color-primary-rgb: 175 155 78;
  --color-primary-hsl: 48 38% 50%;
}
Gradient
.gradient-af9b4e {
  background: linear-gradient(135deg, #af9b4e, #93af4e);
}
Colored shadow
.shadow-af9b4e {
  box-shadow: 0 8px 24px rgb(175 155 78 / 0.35);
}

Brass
#af9b4e  rgb(175, 155, 78)  hsl(48, 38%, 50%)  Brass
#4e62af  rgb(78, 98, 175)  hsl(228, 38%, 50%)  Queen Blue
#4eaf9b  rgb(78, 175, 155)  hsl(168, 38%, 50%)  Persian Green
#9b4eaf  rgb(155, 78, 175)  hsl(288, 38%, 50%)  Purpureus