#AFA72F

#afa72f ≈ Brass

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

#afa72f 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 18.43% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 73.14% yellow and 31.37% black. Its hue angle is 56.25°, with 57.66% saturation and 43.53% 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.39:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #afa72f 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.3696

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

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a8a585 ≈ 0.001% of males
Protanopia #b6a119 ≈ 1.01% of males
Deuteranopia #b9a638 ≈ 1.27% of males
Tritanopia #bc9c90 ≈ 0.0001% of males
Protanomaly #b3a323 ≈ 1.08% of males
Deuteranomaly #b5a634 ≈ 4.63% of males
Tritanomaly #b7a075 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa72f {
  color: #afa72f;
}
Background
.bg-afa72f {
  background-color: #afa72f;
  color: #000000;
}
Border
.border-afa72f {
  border: 2px solid #afa72f;
}
CSS variables
:root {
  --color-primary: #afa72f;
  --color-primary-rgb: 175 167 47;
  --color-primary-hsl: 56 58% 44%;
}
Gradient
.gradient-afa72f {
  background: linear-gradient(135deg, #afa72f, #77af2f);
}
Colored shadow
.shadow-afa72f {
  box-shadow: 0 8px 24px rgb(175 167 47 / 0.35);
}

Brass
#afa72f  rgb(175, 167, 47)  hsl(56, 58%, 44%)  Brass
#2f37af  rgb(47, 55, 175)  hsl(236, 58%, 44%)  Persian Blue
#2fafa7  rgb(47, 175, 167)  hsl(176, 58%, 44%)  Light Sea Green
#a72faf  rgb(167, 47, 175)  hsl(296, 58%, 44%)  Purpureus