#B2AF26

#b2af26 ≈ Brass

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

#b2af26 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 14.9% blue; printed in CMYK it uses 0% cyan, 1.69% magenta, 78.65% yellow and 30.2% black. Its hue angle is 58.71°, with 64.81% saturation and 42.35% 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.05:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.09.

Description generated from the measured properties of this color.

Conversions of #b2af26 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.4026

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

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #adac89 ≈ 0.001% of males
Protanopia #bea800 ≈ 1.01% of males
Deuteranopia #c0ac32 ≈ 1.27% of males
Tritanopia #bfa396 ≈ 0.0001% of males
Protanomaly #b9ab13 ≈ 1.08% of males
Deuteranomaly #bbad2e ≈ 4.63% of males
Tritanomaly #baa879 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2af26 {
  color: #b2af26;
}
Background
.bg-b2af26 {
  background-color: #b2af26;
  color: #000000;
}
Border
.border-b2af26 {
  border: 2px solid #b2af26;
}
CSS variables
:root {
  --color-primary: #b2af26;
  --color-primary-rgb: 178 175 38;
  --color-primary-hsl: 59 65% 42%;
}
Gradient
.gradient-b2af26 {
  background: linear-gradient(135deg, #b2af26, #6fb226);
}
Colored shadow
.shadow-b2af26 {
  box-shadow: 0 8px 24px rgb(178 175 38 / 0.35);
}

Brass
#b2af26  rgb(178, 175, 38)  hsl(59, 65%, 42%)  Brass
#2629b2  rgb(38, 41, 178)  hsl(239, 65%, 42%)  Egyptian Blue
#26b2af  rgb(38, 178, 175)  hsl(179, 65%, 42%)  Verdigris
#af26b2  rgb(175, 38, 178)  hsl(299, 65%, 42%)  Dark Orchid