#AFA45B

#afa45b ≈ Brass

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

#afa45b 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.31% green and 35.69% blue; printed in CMYK it uses 0% cyan, 6.29% magenta, 48% yellow and 31.37% black. Its hue angle is 52.14°, with 34.43% saturation and 52.16% 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.28:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.38.

Description generated from the measured properties of this color.

Conversions of #afa45b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3642

Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #a8a38c ≈ 0.001% of males
Protanopia #b0a055 ≈ 1.01% of males
Deuteranopia #b3a55e ≈ 1.27% of males
Tritanopia #ba9b93 ≈ 0.0001% of males
Protanomaly #b0a257 ≈ 1.08% of males
Deuteranomaly #b2a45d ≈ 4.63% of males
Tritanomaly #b69f80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa45b {
  color: #afa45b;
}
Background
.bg-afa45b {
  background-color: #afa45b;
  color: #000000;
}
Border
.border-afa45b {
  border: 2px solid #afa45b;
}
CSS variables
:root {
  --color-primary: #afa45b;
  --color-primary-rgb: 175 164 91;
  --color-primary-hsl: 52 34% 52%;
}
Gradient
.gradient-afa45b {
  background: linear-gradient(135deg, #afa45b, #90af5b);
}
Colored shadow
.shadow-afa45b {
  box-shadow: 0 8px 24px rgb(175 164 91 / 0.35);
}

Brass
#afa45b  rgb(175, 164, 91)  hsl(52, 34%, 52%)  Brass
#5b66af  rgb(91, 102, 175)  hsl(232, 34%, 52%)  Slate Blue
#5bafa4  rgb(91, 175, 164)  hsl(172, 34%, 52%)  Verdigris
#a45baf  rgb(164, 91, 175)  hsl(292, 34%, 52%)  Purpureus