#AFA31A

#afa31a ≈ Brass

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

#afa31a is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 63.92% green and 10.2% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 85.14% yellow and 31.37% black. Its hue angle is 55.17°, with 74.13% saturation and 39.41% 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.08:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.78.

Description generated from the measured properties of this color.

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

Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a6a180 ≈ 0.001% of males
Protanopia #b39d00 ≈ 1.01% of males
Deuteranopia #b6a327 ≈ 1.27% of males
Tritanopia #bd978b ≈ 0.0001% of males
Protanomaly #b1a000 ≈ 1.08% of males
Deuteranomaly #b4a323 ≈ 4.63% of males
Tritanomaly #b89c6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa31a {
  color: #afa31a;
}
Background
.bg-afa31a {
  background-color: #afa31a;
  color: #000000;
}
Border
.border-afa31a {
  border: 2px solid #afa31a;
}
CSS variables
:root {
  --color-primary: #afa31a;
  --color-primary-rgb: 175 163 26;
  --color-primary-hsl: 55 74% 39%;
}
Gradient
.gradient-afa31a {
  background: linear-gradient(135deg, #afa31a, #70af1a);
}
Colored shadow
.shadow-afa31a {
  box-shadow: 0 8px 24px rgb(175 163 26 / 0.35);
}

Brass
#afa31a  rgb(175, 163, 26)  hsl(55, 74%, 39%)  Brass
#1a26af  rgb(26, 38, 175)  hsl(235, 74%, 39%)  Zaffre
#1aafa3  rgb(26, 175, 163)  hsl(175, 74%, 39%)  Light Sea Green
#a31aaf  rgb(163, 26, 175)  hsl(295, 74%, 39%)  Dark Orchid