#AFA331

#afa331 ≈ Brass

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

#afa331 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.92% green and 19.22% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 72% yellow and 31.37% black. Its hue angle is 54.29°, with 56.25% saturation and 43.92% 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 8.11:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.14.

Description generated from the measured properties of this color.

Conversions of #afa331 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.3553

Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a7a283 ≈ 0.001% of males
Protanopia #b29e1e ≈ 1.01% of males
Deuteranopia #b6a339 ≈ 1.27% of males
Tritanopia #bc988d ≈ 0.0001% of males
Protanomaly #b1a027 ≈ 1.08% of males
Deuteranomaly #b3a336 ≈ 4.63% of males
Tritanomaly #b79c73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa331 {
  color: #afa331;
}
Background
.bg-afa331 {
  background-color: #afa331;
  color: #000000;
}
Border
.border-afa331 {
  border: 2px solid #afa331;
}
CSS variables
:root {
  --color-primary: #afa331;
  --color-primary-rgb: 175 163 49;
  --color-primary-hsl: 54 56% 44%;
}
Gradient
.gradient-afa331 {
  background: linear-gradient(135deg, #afa331, #7caf31);
}
Colored shadow
.shadow-afa331 {
  box-shadow: 0 8px 24px rgb(175 163 49 / 0.35);
}

Brass
#afa331  rgb(175, 163, 49)  hsl(54, 56%, 44%)  Brass
#313daf  rgb(49, 61, 175)  hsl(234, 56%, 44%)  Persian Blue
#31afa3  rgb(49, 175, 163)  hsl(174, 56%, 44%)  Light Sea Green
#a331af  rgb(163, 49, 175)  hsl(294, 56%, 44%)  Purpureus