#AFA22C

#afa22c ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #afa22c 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.3514

Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a6a181 ≈ 0.001% of males
Protanopia #b19d15 ≈ 1.01% of males
Deuteranopia #b5a334 ≈ 1.27% of males
Tritanopia #bd968b ≈ 0.0001% of males
Protanomaly #b09f20 ≈ 1.08% of males
Deuteranomaly #b3a231 ≈ 4.63% of males
Tritanomaly #b79b71 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa22c  rgb(175, 162, 44)  hsl(54, 60%, 43%)  Brass
#2c39af  rgb(44, 57, 175)  hsl(234, 60%, 43%)  Persian Blue
#2cafa2  rgb(44, 175, 162)  hsl(174, 60%, 43%)  Light Sea Green
#a22caf  rgb(162, 44, 175)  hsl(294, 60%, 43%)  Dark Orchid