#AFA35A

#afa35a ≈ Brass

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

#afa35a 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 35.29% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 48.57% yellow and 31.37% black. Its hue angle is 51.53°, with 34.69% saturation and 51.96% 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.21:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.32.

Description generated from the measured properties of this color.

Conversions of #afa35a 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.3605

Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #a7a28b ≈ 0.001% of males
Protanopia #af9f54 ≈ 1.01% of males
Deuteranopia #b3a45d ≈ 1.27% of males
Tritanopia #ba9a92 ≈ 0.0001% of males
Protanomaly #afa156 ≈ 1.08% of males
Deuteranomaly #b1a45c ≈ 4.63% of males
Tritanomaly #b69e7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa35a {
  color: #afa35a;
}
Background
.bg-afa35a {
  background-color: #afa35a;
  color: #000000;
}
Border
.border-afa35a {
  border: 2px solid #afa35a;
}
CSS variables
:root {
  --color-primary: #afa35a;
  --color-primary-rgb: 175 163 90;
  --color-primary-hsl: 52 35% 52%;
}
Gradient
.gradient-afa35a {
  background: linear-gradient(135deg, #afa35a, #90af5a);
}
Colored shadow
.shadow-afa35a {
  box-shadow: 0 8px 24px rgb(175 163 90 / 0.35);
}

Brass
#afa35a  rgb(175, 163, 90)  hsl(52, 35%, 52%)  Brass
#5a66af  rgb(90, 102, 175)  hsl(232, 35%, 52%)  Slate Blue
#5aafa3  rgb(90, 175, 163)  hsl(172, 35%, 52%)  Verdigris
#a35aaf  rgb(163, 90, 175)  hsl(292, 35%, 52%)  Purpureus