#AFA800

#afa800 ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#afa800 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.88% green and 0% blue; printed in CMYK it uses 0% cyan, 4% magenta, 100% yellow and 31.37% black. Its hue angle is 57.6°, with 100% saturation and 34.31% 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 corporate identities. Black text on this color reaches a contrast ratio of 8.42:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.22.

Description generated from the measured properties of this color.

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

Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a9a682 ≈ 0.001% of males
Protanopia #b8a100 ≈ 1.01% of males
Deuteranopia #bba61c ≈ 1.27% of males
Tritanopia #bd9c8f ≈ 0.0001% of males
Protanomaly #b4a400 ≈ 1.08% of males
Deuteranomaly #b6a714 ≈ 4.63% of males
Tritanomaly #b7a171 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa800 {
  color: #afa800;
}
Background
.bg-afa800 {
  background-color: #afa800;
  color: #000000;
}
Border
.border-afa800 {
  border: 2px solid #afa800;
}
CSS variables
:root {
  --color-primary: #afa800;
  --color-primary-rgb: 175 168 0;
  --color-primary-hsl: 58 100% 34%;
}
Gradient
.gradient-afa800 {
  background: linear-gradient(135deg, #afa800, #5eaf00);
}
Colored shadow
.shadow-afa800 {
  box-shadow: 0 8px 24px rgb(175 168 0 / 0.35);
}

Brass
#afa800  rgb(175, 168, 0)  hsl(58, 100%, 34%)  Brass
#0007af  rgb(0, 7, 175)  hsl(238, 100%, 34%)  Zaffre
#00afa8  rgb(0, 175, 168)  hsl(178, 100%, 34%)  Light Sea Green
#a800af  rgb(168, 0, 175)  hsl(298, 100%, 34%)  Dark Orchid