#AFA505

#afa505 ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#afa505 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 64.71% green and 1.96% blue; printed in CMYK it uses 0% cyan, 5.71% magenta, 97.14% yellow and 31.37% black. Its hue angle is 56.47°, with 94.44% saturation and 35.29% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.21:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #afa505 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999900
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3604

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 #a7a380 ≈ 0.001% of males
Protanopia #b59f00 ≈ 1.01% of males
Deuteranopia #b8a41d ≈ 1.27% of males
Tritanopia #bd998c ≈ 0.0001% of males
Protanomaly #b3a100 ≈ 1.08% of males
Deuteranomaly #b5a516 ≈ 4.63% of males
Tritanomaly #b89e6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa505 {
  color: #afa505;
}
Background
.bg-afa505 {
  background-color: #afa505;
  color: #000000;
}
Border
.border-afa505 {
  border: 2px solid #afa505;
}
CSS variables
:root {
  --color-primary: #afa505;
  --color-primary-rgb: 175 165 5;
  --color-primary-hsl: 56 94% 35%;
}
Gradient
.gradient-afa505 {
  background: linear-gradient(135deg, #afa505, #64af05);
}
Colored shadow
.shadow-afa505 {
  box-shadow: 0 8px 24px rgb(175 165 5 / 0.35);
}

Brass
#afa505  rgb(175, 165, 5)  hsl(56, 94%, 35%)  Brass
#050faf  rgb(5, 15, 175)  hsl(236, 94%, 35%)  Zaffre
#05afa5  rgb(5, 175, 165)  hsl(176, 94%, 35%)  Light Sea Green
#a505af  rgb(165, 5, 175)  hsl(296, 94%, 35%)  Dark Orchid