#A79B2F

#a79b2f ≈ Brass

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

#a79b2f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 65.49% red, 60.78% green and 18.43% blue; printed in CMYK it uses 0% cyan, 7.19% magenta, 71.86% yellow and 34.51% black. Its hue angle is 54°, with 56.07% saturation and 41.96% 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.37:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #a79b2f 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.3186

Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #999999 ≈ 0.003% of males
Achromatomaly #9f9a7c ≈ 0.001% of males
Protanopia #a9961e ≈ 1.01% of males
Deuteranopia #ad9b36 ≈ 1.27% of males
Tritanopia #b49086 ≈ 0.0001% of males
Protanomaly #a89826 ≈ 1.08% of males
Deuteranomaly #ab9b33 ≈ 4.63% of males
Tritanomaly #af956d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a79b2f {
  color: #a79b2f;
}
Background
.bg-a79b2f {
  background-color: #a79b2f;
  color: #000000;
}
Border
.border-a79b2f {
  border: 2px solid #a79b2f;
}
CSS variables
:root {
  --color-primary: #a79b2f;
  --color-primary-rgb: 167 155 47;
  --color-primary-hsl: 54 56% 42%;
}
Gradient
.gradient-a79b2f {
  background: linear-gradient(135deg, #a79b2f, #77a72f);
}
Colored shadow
.shadow-a79b2f {
  box-shadow: 0 8px 24px rgb(167 155 47 / 0.35);
}

Brass
#a79b2f  rgb(167, 155, 47)  hsl(54, 56%, 42%)  Brass
#2f3ba7  rgb(47, 59, 167)  hsl(234, 56%, 42%)  Egyptian Blue
#2fa79b  rgb(47, 167, 155)  hsl(174, 56%, 42%)  Persian Green
#9b2fa7  rgb(155, 47, 167)  hsl(294, 56%, 42%)  Purpureus