#AFA53D

#afa53d ≈ Brass

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

#afa53d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 64.71% green and 23.92% blue; printed in CMYK it uses 0% cyan, 5.71% magenta, 65.14% yellow and 31.37% black. Its hue angle is 54.74°, with 48.31% saturation and 46.27% 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.27:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.63.

Description generated from the measured properties of this color.

Conversions of #afa53d 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.3636

Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #a8a386 ≈ 0.001% of males
Protanopia #b3a030 ≈ 1.01% of males
Deuteranopia #b7a543 ≈ 1.27% of males
Tritanopia #bc9a8f ≈ 0.0001% of males
Protanomaly #b2a236 ≈ 1.08% of males
Deuteranomaly #b4a541 ≈ 4.63% of males
Tritanomaly #b79f77 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa53d {
  color: #afa53d;
}
Background
.bg-afa53d {
  background-color: #afa53d;
  color: #000000;
}
Border
.border-afa53d {
  border: 2px solid #afa53d;
}
CSS variables
:root {
  --color-primary: #afa53d;
  --color-primary-rgb: 175 165 61;
  --color-primary-hsl: 55 48% 46%;
}
Gradient
.gradient-afa53d {
  background: linear-gradient(135deg, #afa53d, #80af3d);
}
Colored shadow
.shadow-afa53d {
  box-shadow: 0 8px 24px rgb(175 165 61 / 0.35);
}

Brass
#afa53d  rgb(175, 165, 61)  hsl(55, 48%, 46%)  Brass
#3d47af  rgb(61, 71, 175)  hsl(235, 48%, 46%)  Ocean Blue
#3dafa5  rgb(61, 175, 165)  hsl(175, 48%, 46%)  Light Sea Green
#a53daf  rgb(165, 61, 175)  hsl(295, 48%, 46%)  Purpureus