#AFA92C

#afa92c ≈ Brass

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

#afa92c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 66.27% green and 17.25% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 74.86% yellow and 31.37% black. Its hue angle is 57.25°, with 59.82% saturation and 42.94% 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.53:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.58.

Description generated from the measured properties of this color.

Conversions of #afa92c 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.3767

Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a9a785 ≈ 0.001% of males
Protanopia #b8a211 ≈ 1.01% of males
Deuteranopia #baa736 ≈ 1.27% of males
Tritanopia #bc9d91 ≈ 0.0001% of males
Protanomaly #b4a51f ≈ 1.08% of males
Deuteranomaly #b6a832 ≈ 4.63% of males
Tritanomaly #b7a276 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afa92c {
  color: #afa92c;
}
Background
.bg-afa92c {
  background-color: #afa92c;
  color: #000000;
}
Border
.border-afa92c {
  border: 2px solid #afa92c;
}
CSS variables
:root {
  --color-primary: #afa92c;
  --color-primary-rgb: 175 169 44;
  --color-primary-hsl: 57 60% 43%;
}
Gradient
.gradient-afa92c {
  background: linear-gradient(135deg, #afa92c, #74af2c);
}
Colored shadow
.shadow-afa92c {
  box-shadow: 0 8px 24px rgb(175 169 44 / 0.35);
}

Brass
#afa92c  rgb(175, 169, 44)  hsl(57, 60%, 43%)  Brass
#2c32af  rgb(44, 50, 175)  hsl(237, 60%, 43%)  Persian Blue
#2cafa9  rgb(44, 175, 169)  hsl(177, 60%, 43%)  Light Sea Green
#a92caf  rgb(169, 44, 175)  hsl(297, 60%, 43%)  Purpureus