#A8A22F

#a8a22f ≈ Brass

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

#a8a22f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.88% red, 63.53% green and 18.43% blue; printed in CMYK it uses 0% cyan, 3.57% magenta, 72.02% yellow and 34.12% black. Its hue angle is 57.02°, with 56.28% 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 7.87:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #a8a22f 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.3437

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

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #a2a080 ≈ 0.001% of males
Protanopia #b09c1b ≈ 1.01% of males
Deuteranopia #b3a137 ≈ 1.27% of males
Tritanopia #b4978c ≈ 0.0001% of males
Protanomaly #ad9e24 ≈ 1.08% of males
Deuteranomaly #aea134 ≈ 4.63% of males
Tritanomaly #b09c72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a22f {
  color: #a8a22f;
}
Background
.bg-a8a22f {
  background-color: #a8a22f;
  color: #000000;
}
Border
.border-a8a22f {
  border: 2px solid #a8a22f;
}
CSS variables
:root {
  --color-primary: #a8a22f;
  --color-primary-rgb: 168 162 47;
  --color-primary-hsl: 57 56% 42%;
}
Gradient
.gradient-a8a22f {
  background: linear-gradient(135deg, #a8a22f, #72a82f);
}
Colored shadow
.shadow-a8a22f {
  box-shadow: 0 8px 24px rgb(168 162 47 / 0.35);
}

Brass
#a8a22f  rgb(168, 162, 47)  hsl(57, 56%, 42%)  Brass
#2f35a8  rgb(47, 53, 168)  hsl(237, 56%, 42%)  Egyptian Blue
#2fa8a2  rgb(47, 168, 162)  hsl(177, 56%, 42%)  Light Sea Green
#a22fa8  rgb(162, 47, 168)  hsl(297, 56%, 42%)  Purpureus