#AFAB2E

#afab2e ≈ Brass

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

#afab2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 67.06% green and 18.04% blue; printed in CMYK it uses 0% cyan, 2.29% magenta, 73.71% yellow and 31.37% black. Its hue angle is 58.14°, with 58.37% saturation and 43.33% 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.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.01.

Description generated from the measured properties of this color.

Conversions of #afab2e 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.3844

Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aaa887 ≈ 0.001% of males
Protanopia #baa415 ≈ 1.01% of males
Deuteranopia #bca938 ≈ 1.27% of males
Tritanopia #bca093 ≈ 0.0001% of males
Protanomaly #b5a721 ≈ 1.08% of males
Deuteranomaly #b7aa34 ≈ 4.63% of males
Tritanomaly #b7a477 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afab2e {
  color: #afab2e;
}
Background
.bg-afab2e {
  background-color: #afab2e;
  color: #000000;
}
Border
.border-afab2e {
  border: 2px solid #afab2e;
}
CSS variables
:root {
  --color-primary: #afab2e;
  --color-primary-rgb: 175 171 46;
  --color-primary-hsl: 58 58% 43%;
}
Gradient
.gradient-afab2e {
  background: linear-gradient(135deg, #afab2e, #72af2e);
}
Colored shadow
.shadow-afab2e {
  box-shadow: 0 8px 24px rgb(175 171 46 / 0.35);
}

Brass
#afab2e  rgb(175, 171, 46)  hsl(58, 58%, 43%)  Brass
#2e32af  rgb(46, 50, 175)  hsl(238, 58%, 43%)  Persian Blue
#2eafab  rgb(46, 175, 171)  hsl(178, 58%, 43%)  Verdigris
#ab2eaf  rgb(171, 46, 175)  hsl(298, 58%, 43%)  Purpureus