#B2AF2D

#b2af2d ≈ Brass

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

#b2af2d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 68.63% green and 17.65% blue; printed in CMYK it uses 0% cyan, 1.69% magenta, 74.72% yellow and 30.2% black. Its hue angle is 58.65°, with 59.64% saturation and 43.73% 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.06:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.77.

Description generated from the measured properties of this color.

Conversions of #b2af2d 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.4031

Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #adac8a ≈ 0.001% of males
Protanopia #bea810 ≈ 1.01% of males
Deuteranopia #c0ac37 ≈ 1.27% of males
Tritanopia #bfa396 ≈ 0.0001% of males
Protanomaly #b9ab1f ≈ 1.08% of males
Deuteranomaly #bbad33 ≈ 4.63% of males
Tritanomaly #baa87a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2af2d {
  color: #b2af2d;
}
Background
.bg-b2af2d {
  background-color: #b2af2d;
  color: #000000;
}
Border
.border-b2af2d {
  border: 2px solid #b2af2d;
}
CSS variables
:root {
  --color-primary: #b2af2d;
  --color-primary-rgb: 178 175 45;
  --color-primary-hsl: 59 60% 44%;
}
Gradient
.gradient-b2af2d {
  background: linear-gradient(135deg, #b2af2d, #73b22d);
}
Colored shadow
.shadow-b2af2d {
  box-shadow: 0 8px 24px rgb(178 175 45 / 0.35);
}

Brass
#b2af2d  rgb(178, 175, 45)  hsl(59, 60%, 44%)  Brass
#2d30b2  rgb(45, 48, 178)  hsl(239, 60%, 44%)  Persian Blue
#2db2af  rgb(45, 178, 175)  hsl(179, 60%, 44%)  Verdigris
#af2db2  rgb(175, 45, 178)  hsl(299, 60%, 44%)  Purpureus