#AF980F

#af980f ≈ Brass

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

#af980f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 59.61% green and 5.88% blue; printed in CMYK it uses 0% cyan, 13.14% magenta, 91.43% yellow and 31.37% black. Its hue angle is 51.38°, with 84.21% saturation and 37.25% 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.32:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.59.

Description generated from the measured properties of this color.

Conversions of #af980f 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.316

Readable text 2.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #989898 ≈ 0.003% of males
Achromatomaly #a29879 ≈ 0.001% of males
Protanopia #a99400 ≈ 1.01% of males
Deuteranopia #af9c1e ≈ 1.27% of males
Tritanopia #be8b81 ≈ 0.0001% of males
Protanomaly #ab9600 ≈ 1.08% of males
Deuteranomaly #af9a19 ≈ 4.63% of males
Tritanomaly #b89167 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af980f {
  color: #af980f;
}
Background
.bg-af980f {
  background-color: #af980f;
  color: #000000;
}
Border
.border-af980f {
  border: 2px solid #af980f;
}
CSS variables
:root {
  --color-primary: #af980f;
  --color-primary-rgb: 175 152 15;
  --color-primary-hsl: 51 84% 37%;
}
Gradient
.gradient-af980f {
  background: linear-gradient(135deg, #af980f, #76af0f);
}
Colored shadow
.shadow-af980f {
  box-shadow: 0 8px 24px rgb(175 152 15 / 0.35);
}

Brass
#af980f  rgb(175, 152, 15)  hsl(51, 84%, 37%)  Brass
#0f26af  rgb(15, 38, 175)  hsl(231, 84%, 37%)  Zaffre
#0faf98  rgb(15, 175, 152)  hsl(171, 84%, 37%)  Persian Green
#980faf  rgb(152, 15, 175)  hsl(291, 84%, 37%)  Dark Violet