#AFA335

#afa335 ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#afa335 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.92% green and 20.78% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 69.71% yellow and 31.37% black. Its hue angle is 54.1°, with 53.51% saturation and 44.71% 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.11:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.83.

Description generated from the measured properties of this color.

Conversions of #afa335 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.3557

Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a7a283 ≈ 0.001% of males
Protanopia #b29e25 ≈ 1.01% of males
Deuteranopia #b5a33c ≈ 1.27% of males
Tritanopia #bc988d ≈ 0.0001% of males
Protanomaly #b1a02c ≈ 1.08% of males
Deuteranomaly #b3a339 ≈ 4.63% of males
Tritanomaly #b79c74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa335  rgb(175, 163, 53)  hsl(54, 54%, 45%)  Brass
#3541af  rgb(53, 65, 175)  hsl(234, 54%, 45%)  Persian Blue
#35afa3  rgb(53, 175, 163)  hsl(174, 54%, 45%)  Light Sea Green
#a335af  rgb(163, 53, 175)  hsl(294, 54%, 45%)  Purpureus