#AFA64E

#afa64e ≈ Brass

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

#afa64e 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 30.59% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 55.43% yellow and 31.37% black. Its hue angle is 54.43°, with 38.34% saturation and 49.61% 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.39:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.51.

Description generated from the measured properties of this color.

Conversions of #afa64e 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.3694

Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a8a589 ≈ 0.001% of males
Protanopia #b3a145 ≈ 1.01% of males
Deuteranopia #b6a652 ≈ 1.27% of males
Tritanopia #bb9c92 ≈ 0.0001% of males
Protanomaly #b1a349 ≈ 1.08% of males
Deuteranomaly #b3a651 ≈ 4.63% of males
Tritanomaly #b6a07d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa64e {
  color: #afa64e;
}
Background
.bg-afa64e {
  background-color: #afa64e;
  color: #000000;
}
Border
.border-afa64e {
  border: 2px solid #afa64e;
}
CSS variables
:root {
  --color-primary: #afa64e;
  --color-primary-rgb: 175 166 78;
  --color-primary-hsl: 54 38% 50%;
}
Gradient
.gradient-afa64e {
  background: linear-gradient(135deg, #afa64e, #88af4e);
}
Colored shadow
.shadow-afa64e {
  box-shadow: 0 8px 24px rgb(175 166 78 / 0.35);
}

Brass
#afa64e  rgb(175, 166, 78)  hsl(54, 38%, 50%)  Brass
#4e57af  rgb(78, 87, 175)  hsl(234, 38%, 50%)  Iris
#4eafa6  rgb(78, 175, 166)  hsl(174, 38%, 50%)  Verdigris
#a64eaf  rgb(166, 78, 175)  hsl(294, 38%, 50%)  Purpureus