#AFA93D

#afa93d ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #afa93d 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.3783

Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a9a788 ≈ 0.001% of males
Protanopia #b7a32f ≈ 1.01% of males
Deuteranopia #baa844 ≈ 1.27% of males
Tritanopia #bb9e93 ≈ 0.0001% of males
Protanomaly #b4a535 ≈ 1.08% of males
Deuteranomaly #b5a841 ≈ 4.63% of males
Tritanomaly #b7a37a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa93d  rgb(175, 169, 61)  hsl(57, 48%, 46%)  Brass
#3d43af  rgb(61, 67, 175)  hsl(237, 48%, 46%)  Ocean Blue
#3dafa9  rgb(61, 175, 169)  hsl(177, 48%, 46%)  Verdigris
#a93daf  rgb(169, 61, 175)  hsl(297, 48%, 46%)  Purpureus