#AFA005

#afa005 ≈ Brass

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

#afa005 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 1.96% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 97.14% yellow and 31.37% black. Its hue angle is 54.71°, 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 7.85:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #afa005 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.3427

Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #a59f7d ≈ 0.001% of males
Protanopia #b09b00 ≈ 1.01% of males
Deuteranopia #b5a11c ≈ 1.27% of males
Tritanopia #bd9388 ≈ 0.0001% of males
Protanomaly #b09d00 ≈ 1.08% of males
Deuteranomaly #b2a115 ≈ 4.63% of males
Tritanomaly #b8996b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa005  rgb(175, 160, 5)  hsl(55, 94%, 35%)  Brass
#0514af  rgb(5, 20, 175)  hsl(235, 94%, 35%)  Zaffre
#05afa0  rgb(5, 175, 160)  hsl(175, 94%, 35%)  Light Sea Green
#a005af  rgb(160, 5, 175)  hsl(295, 94%, 35%)  Dark Violet