#AAAB2A

#aaab2a ≈ Brass

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

#aaab2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 66.67% red, 67.06% green and 16.47% blue; printed in CMYK it uses 0.58% cyan, 0% magenta, 75.44% yellow and 32.94% black. Its hue angle is 60.47°, with 60.56% saturation and 41.76% 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.57:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.12.

Description generated from the measured properties of this color.

Conversions of #aaab2a 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.3784

Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a7a885 ≈ 0.001% of males
Protanopia #b9a30b ≈ 1.01% of males
Deuteranopia #baa735 ≈ 1.27% of males
Tritanopia #b6a093 ≈ 0.0001% of males
Protanomaly #b3a71b ≈ 1.08% of males
Deuteranomaly #b4a931 ≈ 4.63% of males
Tritanomaly #b1a477 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-aaab2a {
  color: #aaab2a;
}
Background
.bg-aaab2a {
  background-color: #aaab2a;
  color: #000000;
}
Border
.border-aaab2a {
  border: 2px solid #aaab2a;
}
CSS variables
:root {
  --color-primary: #aaab2a;
  --color-primary-rgb: 170 171 42;
  --color-primary-hsl: 60 61% 42%;
}
Gradient
.gradient-aaab2a {
  background: linear-gradient(135deg, #aaab2a, #69ab2a);
}
Colored shadow
.shadow-aaab2a {
  box-shadow: 0 8px 24px rgb(170 171 42 / 0.35);
}

Brass
#aaab2a  rgb(170, 171, 42)  hsl(60, 61%, 42%)  Brass
#2b2aab  rgb(43, 42, 171)  hsl(240, 61%, 42%)  Egyptian Blue
#2aaaab  rgb(42, 170, 171)  hsl(180, 61%, 42%)  Verdigris
#ab2aaa  rgb(171, 42, 170)  hsl(300, 61%, 42%)  Purpureus