#BAB307

#bab307 ≈ Old Gold

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

#bab307 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 70.2% green and 2.75% blue; printed in CMYK it uses 0% cyan, 3.76% magenta, 96.24% yellow and 27.06% black. Its hue angle is 57.65°, with 92.75% saturation and 37.84% 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 9.54:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.95.

Description generated from the measured properties of this color.

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

Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #afafaf ≈ 0.003% of males
Achromatomaly #b3b08b ≈ 0.001% of males
Protanopia #c3ac00 ≈ 1.01% of males
Deuteranopia #c6b122 ≈ 1.27% of males
Tritanopia #c9a698 ≈ 0.0001% of males
Protanomaly #c0af00 ≈ 1.08% of males
Deuteranomaly #c2b21a ≈ 4.63% of males
Tritanomaly #c3ab79 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-bab307 {
  color: #bab307;
}
Background
.bg-bab307 {
  background-color: #bab307;
  color: #000000;
}
Border
.border-bab307 {
  border: 2px solid #bab307;
}
CSS variables
:root {
  --color-primary: #bab307;
  --color-primary-rgb: 186 179 7;
  --color-primary-hsl: 58 93% 38%;
}
Gradient
.gradient-bab307 {
  background: linear-gradient(135deg, #bab307, #68ba07);
}
Colored shadow
.shadow-bab307 {
  box-shadow: 0 8px 24px rgb(186 179 7 / 0.35);
}

Old Gold
#bab307  rgb(186, 179, 7)  hsl(58, 93%, 38%)  Old Gold
#070eba  rgb(7, 14, 186)  hsl(238, 93%, 38%)  Medium Blue
#07bab3  rgb(7, 186, 179)  hsl(178, 93%, 38%)  Tiffany Blue
#b307ba  rgb(179, 7, 186)  hsl(298, 93%, 38%)  Dark Orchid