#AFA70D

#afa70d ≈ Brass

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

#afa70d is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.49% green and 5.1% blue; printed in CMYK it uses 0% cyan, 4.57% magenta, 92.57% yellow and 31.37% black. Its hue angle is 57.04°, with 86.17% saturation and 36.86% 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 8.36:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.73.

Description generated from the measured properties of this color.

Conversions of #afa70d 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.3678

Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #a8a582 ≈ 0.001% of males
Protanopia #b7a000 ≈ 1.01% of males
Deuteranopia #baa621 ≈ 1.27% of males
Tritanopia #bd9b8e ≈ 0.0001% of males
Protanomaly #b4a300 ≈ 1.08% of males
Deuteranomaly #b6a61b ≈ 4.63% of males
Tritanomaly #b7a071 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa70d {
  color: #afa70d;
}
Background
.bg-afa70d {
  background-color: #afa70d;
  color: #000000;
}
Border
.border-afa70d {
  border: 2px solid #afa70d;
}
CSS variables
:root {
  --color-primary: #afa70d;
  --color-primary-rgb: 175 167 13;
  --color-primary-hsl: 57 86% 37%;
}
Gradient
.gradient-afa70d {
  background: linear-gradient(135deg, #afa70d, #66af0d);
}
Colored shadow
.shadow-afa70d {
  box-shadow: 0 8px 24px rgb(175 167 13 / 0.35);
}

Brass
#afa70d  rgb(175, 167, 13)  hsl(57, 86%, 37%)  Brass
#0d15af  rgb(13, 21, 175)  hsl(237, 86%, 37%)  Zaffre
#0dafa7  rgb(13, 175, 167)  hsl(177, 86%, 37%)  Light Sea Green
#a70daf  rgb(167, 13, 175)  hsl(297, 86%, 37%)  Dark Orchid