#AFAA52

#afaa52 ≈ Brass

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

#afaa52 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 32.16% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 53.14% yellow and 31.37% black. Its hue angle is 56.77°, with 36.76% saturation and 50.39% 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.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #afaa52 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.3847

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

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aaa88d ≈ 0.001% of males
Protanopia #b7a44a ≈ 1.01% of males
Deuteranopia #b9a956 ≈ 1.27% of males
Tritanopia #baa096 ≈ 0.0001% of males
Protanomaly #b4a74d ≈ 1.08% of males
Deuteranomaly #b5a955 ≈ 4.63% of males
Tritanomaly #b6a480 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afaa52 {
  color: #afaa52;
}
Background
.bg-afaa52 {
  background-color: #afaa52;
  color: #000000;
}
Border
.border-afaa52 {
  border: 2px solid #afaa52;
}
CSS variables
:root {
  --color-primary: #afaa52;
  --color-primary-rgb: 175 170 82;
  --color-primary-hsl: 57 37% 50%;
}
Gradient
.gradient-afaa52 {
  background: linear-gradient(135deg, #afaa52, #86af52);
}
Colored shadow
.shadow-afaa52 {
  box-shadow: 0 8px 24px rgb(175 170 82 / 0.35);
}

Brass
#afaa52  rgb(175, 170, 82)  hsl(57, 37%, 50%)  Brass
#5257af  rgb(82, 87, 175)  hsl(237, 37%, 50%)  Iris
#52afaa  rgb(82, 175, 170)  hsl(177, 37%, 50%)  Verdigris
#aa52af  rgb(170, 82, 175)  hsl(297, 37%, 50%)  Purpureus