#AFA65B

#afa65b ≈ Brass

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

#afa65b 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 35.69% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 48% yellow and 31.37% black. Its hue angle is 53.57°, with 34.43% saturation and 52.16% 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.43:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.27.

Description generated from the measured properties of this color.

Conversions of #afa65b 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.3714

Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a9a58d ≈ 0.001% of males
Protanopia #b2a255 ≈ 1.01% of males
Deuteranopia #b5a65e ≈ 1.27% of males
Tritanopia #ba9d94 ≈ 0.0001% of males
Protanomaly #b1a357 ≈ 1.08% of males
Deuteranomaly #b3a65d ≈ 4.63% of males
Tritanomaly #b6a181 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa65b  rgb(175, 166, 91)  hsl(54, 34%, 52%)  Brass
#5b64af  rgb(91, 100, 175)  hsl(234, 34%, 52%)  Slate Blue
#5bafa6  rgb(91, 175, 166)  hsl(174, 34%, 52%)  Verdigris
#a65baf  rgb(166, 91, 175)  hsl(294, 34%, 52%)  Purpureus