#AFA738

#afa738 ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#afa738 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 65.49% green and 21.96% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 68% yellow and 31.37% black. Its hue angle is 55.97°, with 51.52% saturation and 45.29% 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.41:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #afa738 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.3704

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

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a8a586 ≈ 0.001% of males
Protanopia #b5a128 ≈ 1.01% of males
Deuteranopia #b8a63f ≈ 1.27% of males
Tritanopia #bc9c91 ≈ 0.0001% of males
Protanomaly #b3a32f ≈ 1.08% of males
Deuteranomaly #b5a63c ≈ 4.63% of males
Tritanomaly #b7a077 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa738  rgb(175, 167, 56)  hsl(56, 52%, 45%)  Brass
#3840af  rgb(56, 64, 175)  hsl(236, 52%, 45%)  Persian Blue
#38afa7  rgb(56, 175, 167)  hsl(176, 52%, 45%)  Light Sea Green
#a738af  rgb(167, 56, 175)  hsl(296, 52%, 45%)  Purpureus