#AFA40E

#afa40e ≈ Brass

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

#afa40e 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.31% green and 5.49% blue; printed in CMYK it uses 0% cyan, 6.29% magenta, 92% yellow and 31.37% black. Its hue angle is 55.9°, with 85.19% saturation and 37.06% 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.14:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.38.

Description generated from the measured properties of this color.

Conversions of #afa40e 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.357

Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a7a280 ≈ 0.001% of males
Protanopia #b49e00 ≈ 1.01% of males
Deuteranopia #b7a421 ≈ 1.27% of males
Tritanopia #bd988b ≈ 0.0001% of males
Protanomaly #b2a000 ≈ 1.08% of males
Deuteranomaly #b4a41b ≈ 4.63% of males
Tritanomaly #b89d6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa40e {
  color: #afa40e;
}
Background
.bg-afa40e {
  background-color: #afa40e;
  color: #000000;
}
Border
.border-afa40e {
  border: 2px solid #afa40e;
}
CSS variables
:root {
  --color-primary: #afa40e;
  --color-primary-rgb: 175 164 14;
  --color-primary-hsl: 56 85% 37%;
}
Gradient
.gradient-afa40e {
  background: linear-gradient(135deg, #afa40e, #6aaf0e);
}
Colored shadow
.shadow-afa40e {
  box-shadow: 0 8px 24px rgb(175 164 14 / 0.35);
}

Brass
#afa40e  rgb(175, 164, 14)  hsl(56, 85%, 37%)  Brass
#0e19af  rgb(14, 25, 175)  hsl(236, 85%, 37%)  Zaffre
#0eafa4  rgb(14, 175, 164)  hsl(176, 85%, 37%)  Light Sea Green
#a40eaf  rgb(164, 14, 175)  hsl(296, 85%, 37%)  Dark Orchid