#AFA62D

#afa62d ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#afa62d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.1% green and 17.65% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 74.29% yellow and 31.37% black. Its hue angle is 55.85°, with 59.09% saturation and 43.14% 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 brand accents. Black text on this color reaches a contrast ratio of 8.32:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #afa62d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999933
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3658

Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #a8a484 ≈ 0.001% of males
Protanopia #b5a015 ≈ 1.01% of males
Deuteranopia #b8a536 ≈ 1.27% of males
Tritanopia #bc9a8f ≈ 0.0001% of males
Protanomaly #b3a221 ≈ 1.08% of males
Deuteranomaly #b5a633 ≈ 4.63% of males
Tritanomaly #b79f74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa62d {
  color: #afa62d;
}
Background
.bg-afa62d {
  background-color: #afa62d;
  color: #000000;
}
Border
.border-afa62d {
  border: 2px solid #afa62d;
}
CSS variables
:root {
  --color-primary: #afa62d;
  --color-primary-rgb: 175 166 45;
  --color-primary-hsl: 56 59% 43%;
}
Gradient
.gradient-afa62d {
  background: linear-gradient(135deg, #afa62d, #77af2d);
}
Colored shadow
.shadow-afa62d {
  box-shadow: 0 8px 24px rgb(175 166 45 / 0.35);
}

Brass
#afa62d  rgb(175, 166, 45)  hsl(56, 59%, 43%)  Brass
#2d36af  rgb(45, 54, 175)  hsl(236, 59%, 43%)  Persian Blue
#2dafa6  rgb(45, 175, 166)  hsl(176, 59%, 43%)  Light Sea Green
#a62daf  rgb(166, 45, 175)  hsl(296, 59%, 43%)  Purpureus