#AFA02F

#afa02f ≈ Brass

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

#afa02f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 18.43% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 73.14% yellow and 31.37% black. Its hue angle is 52.97°, with 57.66% saturation and 43.53% 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 7.89:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #afa02f 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.3446

Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9f9f9f ≈ 0.003% of males
Achromatomaly #a59f81 ≈ 0.001% of males
Protanopia #af9b1c ≈ 1.01% of males
Deuteranopia #b3a137 ≈ 1.27% of males
Tritanopia #bd948a ≈ 0.0001% of males
Protanomaly #af9d25 ≈ 1.08% of males
Deuteranomaly #b2a134 ≈ 4.63% of males
Tritanomaly #b79971 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa02f  rgb(175, 160, 47)  hsl(53, 58%, 44%)  Brass
#2f3eaf  rgb(47, 62, 175)  hsl(233, 58%, 44%)  Persian Blue
#2fafa0  rgb(47, 175, 160)  hsl(173, 58%, 44%)  Light Sea Green
#a02faf  rgb(160, 47, 175)  hsl(293, 58%, 44%)  Dark Orchid