#AFA02A

#afa02a ≈ Brass

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

#afa02a 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 16.47% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 76% yellow and 31.37% black. Its hue angle is 53.23°, with 61.29% saturation and 42.55% 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.88:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.77.

Description generated from the measured properties of this color.

Conversions of #afa02a 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.3442

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

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #a59f80 ≈ 0.001% of males
Protanopia #af9b11 ≈ 1.01% of males
Deuteranopia #b4a132 ≈ 1.27% of males
Tritanopia #bd9489 ≈ 0.0001% of males
Protanomaly #af9d1e ≈ 1.08% of males
Deuteranomaly #b2a12f ≈ 4.63% of males
Tritanomaly #b79970 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa02a  rgb(175, 160, 42)  hsl(53, 61%, 43%)  Brass
#2a39af  rgb(42, 57, 175)  hsl(233, 61%, 43%)  Persian Blue
#2aafa0  rgb(42, 175, 160)  hsl(173, 61%, 43%)  Light Sea Green
#a02aaf  rgb(160, 42, 175)  hsl(293, 61%, 43%)  Dark Orchid