#AFAA28

#afaa28 ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#afaa28 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 66.67% green and 15.69% blue; printed in CMYK it uses 0% cyan, 2.86% magenta, 77.14% yellow and 31.37% black. Its hue angle is 57.78°, with 62.79% saturation and 42.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.6:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.07.

Description generated from the measured properties of this color.

Conversions of #afaa28 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.3802

Readable text 2.44:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #aaa786 ≈ 0.001% of males
Protanopia #b9a304 ≈ 1.01% of males
Deuteranopia #bba833 ≈ 1.27% of males
Tritanopia #bc9e92 ≈ 0.0001% of males
Protanomaly #b5a618 ≈ 1.08% of males
Deuteranomaly #b6a92f ≈ 4.63% of males
Tritanomaly #b7a376 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afaa28 {
  color: #afaa28;
}
Background
.bg-afaa28 {
  background-color: #afaa28;
  color: #000000;
}
Border
.border-afaa28 {
  border: 2px solid #afaa28;
}
CSS variables
:root {
  --color-primary: #afaa28;
  --color-primary-rgb: 175 170 40;
  --color-primary-hsl: 58 63% 42%;
}
Gradient
.gradient-afaa28 {
  background: linear-gradient(135deg, #afaa28, #71af28);
}
Colored shadow
.shadow-afaa28 {
  box-shadow: 0 8px 24px rgb(175 170 40 / 0.35);
}

Brass
#afaa28  rgb(175, 170, 40)  hsl(58, 63%, 42%)  Brass
#282daf  rgb(40, 45, 175)  hsl(238, 63%, 42%)  Egyptian Blue
#28afaa  rgb(40, 175, 170)  hsl(178, 63%, 42%)  Light Sea Green
#aa28af  rgb(170, 40, 175)  hsl(298, 63%, 42%)  Dark Orchid