#AFA82C

#afa82c ≈ Brass

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

#afa82c 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.88% green and 17.25% blue; printed in CMYK it uses 0% cyan, 4% magenta, 74.86% yellow and 31.37% black. Its hue angle is 56.79°, 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.46:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #afa82c 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.373

Readable text 2.48:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a9a685 ≈ 0.001% of males
Protanopia #b7a212 ≈ 1.01% of males
Deuteranopia #baa735 ≈ 1.27% of males
Tritanopia #bc9c90 ≈ 0.0001% of males
Protanomaly #b4a41f ≈ 1.08% of males
Deuteranomaly #b5a732 ≈ 4.63% of males
Tritanomaly #b7a175 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa82c  rgb(175, 168, 44)  hsl(57, 60%, 43%)  Brass
#2c33af  rgb(44, 51, 175)  hsl(237, 60%, 43%)  Persian Blue
#2cafa8  rgb(44, 175, 168)  hsl(177, 60%, 43%)  Light Sea Green
#a82caf  rgb(168, 44, 175)  hsl(297, 60%, 43%)  Purpureus