#AFA62B

#afa62b ≈ Brass

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

#afa62b 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.1% green and 16.86% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 75.43% yellow and 31.37% black. Its hue angle is 55.91°, with 60.55% saturation and 42.75% 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.31:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.99.

Description generated from the measured properties of this color.

Conversions of #afa62b 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.3656

Readable text 2.53:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #a8a484 ≈ 0.001% of males
Protanopia #b5a011 ≈ 1.01% of males
Deuteranopia #b8a534 ≈ 1.27% of males
Tritanopia #bc9a8f ≈ 0.0001% of males
Protanomaly #b3a21e ≈ 1.08% of males
Deuteranomaly #b5a631 ≈ 4.63% of males
Tritanomaly #b79f74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#afa62b  rgb(175, 166, 43)  hsl(56, 61%, 43%)  Brass
#2b34af  rgb(43, 52, 175)  hsl(236, 61%, 43%)  Persian Blue
#2bafa6  rgb(43, 175, 166)  hsl(176, 61%, 43%)  Light Sea Green
#a62baf  rgb(166, 43, 175)  hsl(296, 61%, 43%)  Dark Orchid