#AFA159

#afa159 ≈ Brass

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

#afa159 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.14% green and 34.9% blue; printed in CMYK it uses 0% cyan, 8% magenta, 49.14% yellow and 31.37% black. Its hue angle is 50.23°, with 34.96% saturation and 51.76% 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.06:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.51.

Description generated from the measured properties of this color.

Conversions of #afa159 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.3532

Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a6a189 ≈ 0.001% of males
Protanopia #ad9d53 ≈ 1.01% of males
Deuteranopia #b1a35c ≈ 1.27% of males
Tritanopia #ba9890 ≈ 0.0001% of males
Protanomaly #ae9f55 ≈ 1.08% of males
Deuteranomaly #b0a25b ≈ 4.63% of males
Tritanomaly #b69c7e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa159 {
  color: #afa159;
}
Background
.bg-afa159 {
  background-color: #afa159;
  color: #000000;
}
Border
.border-afa159 {
  border: 2px solid #afa159;
}
CSS variables
:root {
  --color-primary: #afa159;
  --color-primary-rgb: 175 161 89;
  --color-primary-hsl: 50 35% 52%;
}
Gradient
.gradient-afa159 {
  background: linear-gradient(135deg, #afa159, #92af59);
}
Colored shadow
.shadow-afa159 {
  box-shadow: 0 8px 24px rgb(175 161 89 / 0.35);
}

Brass
#afa159  rgb(175, 161, 89)  hsl(50, 35%, 52%)  Brass
#5967af  rgb(89, 103, 175)  hsl(230, 35%, 52%)  Queen Blue
#59afa1  rgb(89, 175, 161)  hsl(170, 35%, 52%)  Verdigris
#a159af  rgb(161, 89, 175)  hsl(290, 35%, 52%)  Purpureus