#AFAB54

#afab54 ≈ Brass

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

#afab54 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 67.06% green and 32.94% blue; printed in CMYK it uses 0% cyan, 2.29% magenta, 52% yellow and 31.37% black. Its hue angle is 57.36°, with 36.25% saturation and 50.78% 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.78:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #afab54 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.3888

Readable text 2.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aba98e ≈ 0.001% of males
Protanopia #b7a54c ≈ 1.01% of males
Deuteranopia #b9a958 ≈ 1.27% of males
Tritanopia #baa197 ≈ 0.0001% of males
Protanomaly #b4a84f ≈ 1.08% of males
Deuteranomaly #b5aa57 ≈ 4.63% of males
Tritanomaly #b6a582 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afab54 {
  color: #afab54;
}
Background
.bg-afab54 {
  background-color: #afab54;
  color: #000000;
}
Border
.border-afab54 {
  border: 2px solid #afab54;
}
CSS variables
:root {
  --color-primary: #afab54;
  --color-primary-rgb: 175 171 84;
  --color-primary-hsl: 57 36% 51%;
}
Gradient
.gradient-afab54 {
  background: linear-gradient(135deg, #afab54, #85af54);
}
Colored shadow
.shadow-afab54 {
  box-shadow: 0 8px 24px rgb(175 171 84 / 0.35);
}

Brass
#afab54  rgb(175, 171, 84)  hsl(57, 36%, 51%)  Brass
#5458af  rgb(84, 88, 175)  hsl(237, 36%, 51%)  Iris
#54afab  rgb(84, 175, 171)  hsl(177, 36%, 51%)  Verdigris
#ab54af  rgb(171, 84, 175)  hsl(297, 36%, 51%)  Purpureus