#AFA015

#afa015 ≈ Brass

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

#afa015 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 8.24% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 88% yellow and 31.37% black. Its hue angle is 54.16°, with 78.57% saturation and 38.43% 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 7.86:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #afa015 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.3431

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

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #a59f7e ≈ 0.001% of males
Protanopia #b09b00 ≈ 1.01% of males
Deuteranopia #b4a124 ≈ 1.27% of males
Tritanopia #bd9488 ≈ 0.0001% of males
Protanomaly #b09d00 ≈ 1.08% of males
Deuteranomaly #b2a11f ≈ 4.63% of males
Tritanomaly #b8996c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa015 {
  color: #afa015;
}
Background
.bg-afa015 {
  background-color: #afa015;
  color: #000000;
}
Border
.border-afa015 {
  border: 2px solid #afa015;
}
CSS variables
:root {
  --color-primary: #afa015;
  --color-primary-rgb: 175 160 21;
  --color-primary-hsl: 54 79% 38%;
}
Gradient
.gradient-afa015 {
  background: linear-gradient(135deg, #afa015, #71af15);
}
Colored shadow
.shadow-afa015 {
  box-shadow: 0 8px 24px rgb(175 160 21 / 0.35);
}

Brass
#afa015  rgb(175, 160, 21)  hsl(54, 79%, 38%)  Brass
#1524af  rgb(21, 36, 175)  hsl(234, 79%, 38%)  Zaffre
#15afa0  rgb(21, 175, 160)  hsl(174, 79%, 38%)  Light Sea Green
#a015af  rgb(160, 21, 175)  hsl(294, 79%, 38%)  Dark Orchid