#B2AB02

#b2ab02 ≈ Brass

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

#b2ab02 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 67.06% green and 0.78% blue; printed in CMYK it uses 0% cyan, 3.93% magenta, 98.88% yellow and 30.2% black. Its hue angle is 57.61°, with 97.78% saturation and 35.29% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.72:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.42.

Description generated from the measured properties of this color.

Conversions of #b2ab02 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.386

Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aba984 ≈ 0.001% of males
Protanopia #bba400 ≈ 1.01% of males
Deuteranopia #bea91e ≈ 1.27% of males
Tritanopia #c09e91 ≈ 0.0001% of males
Protanomaly #b7a700 ≈ 1.08% of males
Deuteranomaly #b9aa16 ≈ 4.63% of males
Tritanomaly #bba473 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2ab02 {
  color: #b2ab02;
}
Background
.bg-b2ab02 {
  background-color: #b2ab02;
  color: #000000;
}
Border
.border-b2ab02 {
  border: 2px solid #b2ab02;
}
CSS variables
:root {
  --color-primary: #b2ab02;
  --color-primary-rgb: 178 171 2;
  --color-primary-hsl: 58 98% 35%;
}
Gradient
.gradient-b2ab02 {
  background: linear-gradient(135deg, #b2ab02, #61b202);
}
Colored shadow
.shadow-b2ab02 {
  box-shadow: 0 8px 24px rgb(178 171 2 / 0.35);
}

Brass
#b2ab02  rgb(178, 171, 2)  hsl(58, 98%, 35%)  Brass
#0209b2  rgb(2, 9, 178)  hsl(238, 98%, 35%)  Zaffre
#02b2ab  rgb(2, 178, 171)  hsl(178, 98%, 35%)  Light Sea Green
#ab02b2  rgb(171, 2, 178)  hsl(298, 98%, 35%)  Dark Orchid