#AF940E

#af940e ≈ Brass

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

#af940e 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.49% blue; printed in CMYK it uses 0% cyan, 15.43% magenta, 92% yellow and 31.37% black. Its hue angle is 49.94°, with 85.19% saturation and 37.06% 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.72.

Description generated from the measured properties of this color.

Conversions of #af940e 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 #ac991c ≈ 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-af940e {
  color: #af940e;
}
Background
.bg-af940e {
  background-color: #af940e;
  color: #000000;
}
Border
.border-af940e {
  border: 2px solid #af940e;
}
CSS variables
:root {
  --color-primary: #af940e;
  --color-primary-rgb: 175 148 14;
  --color-primary-hsl: 50 85% 37%;
}
Gradient
.gradient-af940e {
  background: linear-gradient(135deg, #af940e, #79af0e);
}
Colored shadow
.shadow-af940e {
  box-shadow: 0 8px 24px rgb(175 148 14 / 0.35);
}

Brass
#af940e  rgb(175, 148, 14)  hsl(50, 85%, 37%)  Brass
#0e29af  rgb(14, 41, 175)  hsl(230, 85%, 37%)  Egyptian Blue
#0eaf94  rgb(14, 175, 148)  hsl(170, 85%, 37%)  Jungle Green
#940eaf  rgb(148, 14, 175)  hsl(290, 85%, 37%)  Dark Violet