#AAA21D

#aaa21d ≈ Brass

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

#aaa21d is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 66.67% red, 63.53% green and 11.37% blue; printed in CMYK it uses 0% cyan, 4.71% magenta, 82.94% yellow and 33.33% black. Its hue angle is 56.6°, with 70.85% saturation and 39.02% 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.9:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #aaa21d 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.3448

Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9f9f9f ≈ 0.003% of males
Achromatomaly #a3a07f ≈ 0.001% of males
Protanopia #b19c00 ≈ 1.01% of males
Deuteranopia #b4a12a ≈ 1.27% of males
Tritanopia #b7968a ≈ 0.0001% of males
Protanomaly #ae9e04 ≈ 1.08% of males
Deuteranomaly #b0a125 ≈ 4.63% of males
Tritanomaly #b29b6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-aaa21d {
  color: #aaa21d;
}
Background
.bg-aaa21d {
  background-color: #aaa21d;
  color: #000000;
}
Border
.border-aaa21d {
  border: 2px solid #aaa21d;
}
CSS variables
:root {
  --color-primary: #aaa21d;
  --color-primary-rgb: 170 162 29;
  --color-primary-hsl: 57 71% 39%;
}
Gradient
.gradient-aaa21d {
  background: linear-gradient(135deg, #aaa21d, #6baa1d);
}
Colored shadow
.shadow-aaa21d {
  box-shadow: 0 8px 24px rgb(170 162 29 / 0.35);
}

Brass
#aaa21d  rgb(170, 162, 29)  hsl(57, 71%, 39%)  Brass
#1d25aa  rgb(29, 37, 170)  hsl(237, 71%, 39%)  Zaffre
#1daaa2  rgb(29, 170, 162)  hsl(177, 71%, 39%)  Light Sea Green
#a21daa  rgb(162, 29, 170)  hsl(297, 71%, 39%)  Dark Orchid