#AFA00A

#afa00a ≈ Brass

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

#afa00a is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 3.92% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 94.29% yellow and 31.37% black. Its hue angle is 54.55°, with 89.19% saturation and 36.27% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.86:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.48.

Description generated from the measured properties of this color.

Conversions of #afa00a 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.3428

Readable text 2.67:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #a59f7e ≈ 0.001% of males
Protanopia #b09b00 ≈ 1.01% of males
Deuteranopia #b5a11e ≈ 1.27% of males
Tritanopia #bd9488 ≈ 0.0001% of males
Protanomaly #b09d00 ≈ 1.08% of males
Deuteranomaly #b2a118 ≈ 4.63% of males
Tritanomaly #b8996c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa00a {
  color: #afa00a;
}
Background
.bg-afa00a {
  background-color: #afa00a;
  color: #000000;
}
Border
.border-afa00a {
  border: 2px solid #afa00a;
}
CSS variables
:root {
  --color-primary: #afa00a;
  --color-primary-rgb: 175 160 10;
  --color-primary-hsl: 55 89% 36%;
}
Gradient
.gradient-afa00a {
  background: linear-gradient(135deg, #afa00a, #6baf0a);
}
Colored shadow
.shadow-afa00a {
  box-shadow: 0 8px 24px rgb(175 160 10 / 0.35);
}

Brass
#afa00a  rgb(175, 160, 10)  hsl(55, 89%, 36%)  Brass
#0a19af  rgb(10, 25, 175)  hsl(235, 89%, 36%)  Zaffre
#0aafa0  rgb(10, 175, 160)  hsl(175, 89%, 36%)  Light Sea Green
#a00aaf  rgb(160, 10, 175)  hsl(295, 89%, 36%)  Dark Violet