#AFA31E

#afa31e ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#afa31e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 63.92% green and 11.76% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 82.86% yellow and 31.37% black. Its hue angle is 55.03°, with 70.73% saturation and 40.2% 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.54.

Description generated from the measured properties of this color.

Conversions of #afa31e 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.354

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

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a7a280 ≈ 0.001% of males
Protanopia #b39d00 ≈ 1.01% of males
Deuteranopia #b6a32a ≈ 1.27% of males
Tritanopia #bd978b ≈ 0.0001% of males
Protanomaly #b1a006 ≈ 1.08% of males
Deuteranomaly #b3a326 ≈ 4.63% of males
Tritanomaly #b79c70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa31e {
  color: #afa31e;
}
Background
.bg-afa31e {
  background-color: #afa31e;
  color: #000000;
}
Border
.border-afa31e {
  border: 2px solid #afa31e;
}
CSS variables
:root {
  --color-primary: #afa31e;
  --color-primary-rgb: 175 163 30;
  --color-primary-hsl: 55 71% 40%;
}
Gradient
.gradient-afa31e {
  background: linear-gradient(135deg, #afa31e, #73af1e);
}
Colored shadow
.shadow-afa31e {
  box-shadow: 0 8px 24px rgb(175 163 30 / 0.35);
}

Brass
#afa31e  rgb(175, 163, 30)  hsl(55, 71%, 40%)  Brass
#1e2aaf  rgb(30, 42, 175)  hsl(235, 71%, 40%)  Egyptian Blue
#1eafa3  rgb(30, 175, 163)  hsl(175, 71%, 40%)  Light Sea Green
#a31eaf  rgb(163, 30, 175)  hsl(295, 71%, 40%)  Dark Orchid