#AB980F

#ab980f ≈ Brass

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

#ab980f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 67.06% red, 59.61% green and 5.88% blue; printed in CMYK it uses 0% cyan, 11.11% magenta, 91.23% yellow and 32.94% black. Its hue angle is 52.69°, with 83.87% saturation and 36.47% 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.23:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.41.

Description generated from the measured properties of this color.

Conversions of #ab980f 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.3115

Readable text 2.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #979797 ≈ 0.003% of males
Achromatomaly #a09878 ≈ 0.001% of males
Protanopia #a89400 ≈ 1.01% of males
Deuteranopia #ad9a1e ≈ 1.27% of males
Tritanopia #b98c81 ≈ 0.0001% of males
Protanomaly #a99500 ≈ 1.08% of males
Deuteranomaly #ac9a19 ≈ 4.63% of males
Tritanomaly #b49166 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab980f {
  color: #ab980f;
}
Background
.bg-ab980f {
  background-color: #ab980f;
  color: #000000;
}
Border
.border-ab980f {
  border: 2px solid #ab980f;
}
CSS variables
:root {
  --color-primary: #ab980f;
  --color-primary-rgb: 171 152 15;
  --color-primary-hsl: 53 84% 36%;
}
Gradient
.gradient-ab980f {
  background: linear-gradient(135deg, #ab980f, #70ab0f);
}
Colored shadow
.shadow-ab980f {
  box-shadow: 0 8px 24px rgb(171 152 15 / 0.35);
}

Brass
#ab980f  rgb(171, 152, 15)  hsl(53, 84%, 36%)  Brass
#0f22ab  rgb(15, 34, 171)  hsl(233, 84%, 36%)  Zaffre
#0fab98  rgb(15, 171, 152)  hsl(173, 84%, 36%)  Persian Green
#980fab  rgb(152, 15, 171)  hsl(293, 84%, 36%)  Dark Magenta