#AF940F

#af940f ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #af940f 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.3033

Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #969696 ≈ 0.003% of males
Achromatomaly #a09577 ≈ 0.001% of males
Protanopia #a59100 ≈ 1.01% of males
Deuteranopia #ac991d ≈ 1.27% of males
Tritanopia #be877e ≈ 0.0001% of males
Protanomaly #a99200 ≈ 1.08% of males
Deuteranomaly #ad9718 ≈ 4.63% of males
Tritanomaly #b88c64 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#af940f  rgb(175, 148, 15)  hsl(50, 84%, 37%)  Brass
#0f2aaf  rgb(15, 42, 175)  hsl(230, 84%, 37%)  Egyptian Blue
#0faf94  rgb(15, 175, 148)  hsl(170, 84%, 37%)  Jungle Green
#940faf  rgb(148, 15, 175)  hsl(290, 84%, 37%)  Dark Violet