#AFAA4A

#afaa4a ≈ Brass

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

#afaa4a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 66.67% green and 29.02% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 57.71% yellow and 31.37% black. Its hue angle is 57.03°, with 40.56% saturation and 48.82% 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.67:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.08.

Description generated from the measured properties of this color.

Conversions of #afaa4a 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.3836

Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #aaa88b ≈ 0.001% of males
Protanopia #b7a440 ≈ 1.01% of males
Deuteranopia #b9a84f ≈ 1.27% of males
Tritanopia #bba095 ≈ 0.0001% of males
Protanomaly #b4a744 ≈ 1.08% of males
Deuteranomaly #b5a94d ≈ 4.63% of males
Tritanomaly #b6a47e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afaa4a {
  color: #afaa4a;
}
Background
.bg-afaa4a {
  background-color: #afaa4a;
  color: #000000;
}
Border
.border-afaa4a {
  border: 2px solid #afaa4a;
}
CSS variables
:root {
  --color-primary: #afaa4a;
  --color-primary-rgb: 175 170 74;
  --color-primary-hsl: 57 41% 49%;
}
Gradient
.gradient-afaa4a {
  background: linear-gradient(135deg, #afaa4a, #81af4a);
}
Colored shadow
.shadow-afaa4a {
  box-shadow: 0 8px 24px rgb(175 170 74 / 0.35);
}

Brass
#afaa4a  rgb(175, 170, 74)  hsl(57, 41%, 49%)  Brass
#4a4faf  rgb(74, 79, 175)  hsl(237, 41%, 49%)  Ocean Blue
#4aafaa  rgb(74, 175, 170)  hsl(177, 41%, 49%)  Verdigris
#aa4aaf  rgb(170, 74, 175)  hsl(297, 41%, 49%)  Purpureus