#AFA64B

#afa64b ≈ Brass

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

#afa64b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 65.1% green and 29.41% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 57.14% yellow and 31.37% black. Its hue angle is 54.6°, with 40% saturation and 49.02% 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.38:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #afa64b 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.3689

Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a8a589 ≈ 0.001% of males
Protanopia #b3a142 ≈ 1.01% of males
Deuteranopia #b6a650 ≈ 1.27% of males
Tritanopia #bb9c92 ≈ 0.0001% of males
Protanomaly #b2a346 ≈ 1.08% of males
Deuteranomaly #b3a64e ≈ 4.63% of males
Tritanomaly #b6a07c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa64b {
  color: #afa64b;
}
Background
.bg-afa64b {
  background-color: #afa64b;
  color: #000000;
}
Border
.border-afa64b {
  border: 2px solid #afa64b;
}
CSS variables
:root {
  --color-primary: #afa64b;
  --color-primary-rgb: 175 166 75;
  --color-primary-hsl: 55 40% 49%;
}
Gradient
.gradient-afa64b {
  background: linear-gradient(135deg, #afa64b, #86af4b);
}
Colored shadow
.shadow-afa64b {
  box-shadow: 0 8px 24px rgb(175 166 75 / 0.35);
}

Brass
#afa64b  rgb(175, 166, 75)  hsl(55, 40%, 49%)  Brass
#4b54af  rgb(75, 84, 175)  hsl(235, 40%, 49%)  Iris
#4bafa6  rgb(75, 175, 166)  hsl(175, 40%, 49%)  Verdigris
#a64baf  rgb(166, 75, 175)  hsl(295, 40%, 49%)  Purpureus