#AFB217

#afb217 ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#afb217 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 69.8% green and 9.02% blue; printed in CMYK it uses 1.69% cyan, 0% magenta, 87.08% yellow and 30.2% black. Its hue angle is 61.16°, with 77.11% saturation and 39.41% 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 9.2:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.82.

Description generated from the measured properties of this color.

Conversions of #afb217 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999900
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4102

Readable text 2.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #adae89 ≈ 0.001% of males
Protanopia #c1aa00 ≈ 1.01% of males
Deuteranopia #c2ad29 ≈ 1.27% of males
Tritanopia #bca698 ≈ 0.0001% of males
Protanomaly #baad00 ≈ 1.08% of males
Deuteranomaly #bbaf23 ≈ 4.63% of males
Tritanomaly #b7ab79 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-afb217 {
  color: #afb217;
}
Background
.bg-afb217 {
  background-color: #afb217;
  color: #000000;
}
Border
.border-afb217 {
  border: 2px solid #afb217;
}
CSS variables
:root {
  --color-primary: #afb217;
  --color-primary-rgb: 175 178 23;
  --color-primary-hsl: 61 77% 39%;
}
Gradient
.gradient-afb217 {
  background: linear-gradient(135deg, #afb217, #61b217);
}
Colored shadow
.shadow-afb217 {
  box-shadow: 0 8px 24px rgb(175 178 23 / 0.35);
}

Brass
#afb217  rgb(175, 178, 23)  hsl(61, 77%, 39%)  Brass
#1a17b2  rgb(26, 23, 178)  hsl(241, 77%, 39%)  Zaffre
#17afb2  rgb(23, 175, 178)  hsl(181, 77%, 39%)  Verdigris
#b217af  rgb(178, 23, 175)  hsl(301, 77%, 39%)  Dark Orchid