#AFA81E

#afa81e ≈ Brass

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

#afa81e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.88% green and 11.76% blue; printed in CMYK it uses 0% cyan, 4% magenta, 82.86% yellow and 31.37% black. Its hue angle is 57.1°, 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.44:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.17.

Description generated from the measured properties of this color.

Conversions of #afa81e 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.3721

Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a9a683 ≈ 0.001% of males
Protanopia #b7a100 ≈ 1.01% of males
Deuteranopia #baa72b ≈ 1.27% of males
Tritanopia #bc9c8f ≈ 0.0001% of males
Protanomaly #b4a404 ≈ 1.08% of males
Deuteranomaly #b6a726 ≈ 4.63% of males
Tritanomaly #b7a173 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa81e  rgb(175, 168, 30)  hsl(57, 71%, 40%)  Brass
#1e25af  rgb(30, 37, 175)  hsl(237, 71%, 40%)  Zaffre
#1eafa8  rgb(30, 175, 168)  hsl(177, 71%, 40%)  Light Sea Green
#a81eaf  rgb(168, 30, 175)  hsl(297, 71%, 40%)  Dark Orchid