#C7BA2C

#c7ba2c ≈ Old Gold

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

#c7ba2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 72.94% green and 17.25% blue; printed in CMYK it uses 0% cyan, 6.53% magenta, 77.89% yellow and 21.96% black. Its hue angle is 54.97°, with 63.79% saturation and 47.65% 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 10.49:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.99.

Description generated from the measured properties of this color.

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

Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b7b7b7 ≈ 0.003% of males
Achromatomaly #beb894 ≈ 0.001% of males
Protanopia #cbb402 ≈ 1.01% of males
Deuteranopia #cfba37 ≈ 1.27% of males
Tritanopia #d6ada0 ≈ 0.0001% of males
Protanomaly #cab61a ≈ 1.08% of males
Deuteranomaly #ccba33 ≈ 4.63% of males
Tritanomaly #d0b281 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c7ba2c {
  color: #c7ba2c;
}
Background
.bg-c7ba2c {
  background-color: #c7ba2c;
  color: #000000;
}
Border
.border-c7ba2c {
  border: 2px solid #c7ba2c;
}
CSS variables
:root {
  --color-primary: #c7ba2c;
  --color-primary-rgb: 199 186 44;
  --color-primary-hsl: 55 64% 48%;
}
Gradient
.gradient-c7ba2c {
  background: linear-gradient(135deg, #c7ba2c, #87c72c);
}
Colored shadow
.shadow-c7ba2c {
  box-shadow: 0 8px 24px rgb(199 186 44 / 0.35);
}

Old Gold
#c7ba2c  rgb(199, 186, 44)  hsl(55, 64%, 48%)  Old Gold
#2c39c7  rgb(44, 57, 199)  hsl(235, 64%, 48%)  Persian Blue
#2cc7ba  rgb(44, 199, 186)  hsl(175, 64%, 48%)  Medium Turquoise
#ba2cc7  rgb(186, 44, 199)  hsl(295, 64%, 48%)  Dark Orchid