#AFA72A

#afa72a ≈ Brass

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

#afa72a 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.49% green and 16.47% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 76% yellow and 31.37% black. Its hue angle is 56.39°, with 61.29% saturation and 42.55% 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.38:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.25.

Description generated from the measured properties of this color.

Conversions of #afa72a 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.3692

Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a8a584 ≈ 0.001% of males
Protanopia #b6a10d ≈ 1.01% of males
Deuteranopia #b9a634 ≈ 1.27% of males
Tritanopia #bc9b8f ≈ 0.0001% of males
Protanomaly #b3a31c ≈ 1.08% of males
Deuteranomaly #b5a630 ≈ 4.63% of males
Tritanomaly #b7a074 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa72a {
  color: #afa72a;
}
Background
.bg-afa72a {
  background-color: #afa72a;
  color: #000000;
}
Border
.border-afa72a {
  border: 2px solid #afa72a;
}
CSS variables
:root {
  --color-primary: #afa72a;
  --color-primary-rgb: 175 167 42;
  --color-primary-hsl: 56 61% 43%;
}
Gradient
.gradient-afa72a {
  background: linear-gradient(135deg, #afa72a, #75af2a);
}
Colored shadow
.shadow-afa72a {
  box-shadow: 0 8px 24px rgb(175 167 42 / 0.35);
}

Brass
#afa72a  rgb(175, 167, 42)  hsl(56, 61%, 43%)  Brass
#2a32af  rgb(42, 50, 175)  hsl(236, 61%, 43%)  Persian Blue
#2aafa7  rgb(42, 175, 167)  hsl(176, 61%, 43%)  Light Sea Green
#a72aaf  rgb(167, 42, 175)  hsl(296, 61%, 43%)  Dark Orchid