#C8BA12

#c8ba12 ≈ Old Gold

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

#c8ba12 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 72.94% green and 7.06% blue; printed in CMYK it uses 0% cyan, 7% magenta, 91% yellow and 21.57% black. Its hue angle is 55.38°, with 83.49% saturation and 42.75% 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 10.49:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #c8ba12 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.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 #beb892 ≈ 0.001% of males
Protanopia #ccb300 ≈ 1.01% of males
Deuteranopia #d0ba27 ≈ 1.27% of males
Tritanopia #d8ac9e ≈ 0.0001% of males
Protanomaly #cab600 ≈ 1.08% of males
Deuteranomaly #cdba20 ≈ 4.63% of males
Tritanomaly #d2b27e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8ba12 {
  color: #c8ba12;
}
Background
.bg-c8ba12 {
  background-color: #c8ba12;
  color: #000000;
}
Border
.border-c8ba12 {
  border: 2px solid #c8ba12;
}
CSS variables
:root {
  --color-primary: #c8ba12;
  --color-primary-rgb: 200 186 18;
  --color-primary-hsl: 55 83% 43%;
}
Gradient
.gradient-c8ba12 {
  background: linear-gradient(135deg, #c8ba12, #7bc812);
}
Colored shadow
.shadow-c8ba12 {
  box-shadow: 0 8px 24px rgb(200 186 18 / 0.35);
}

Old Gold
#c8ba12  rgb(200, 186, 18)  hsl(55, 83%, 43%)  Old Gold
#1220c8  rgb(18, 32, 200)  hsl(235, 83%, 43%)  Medium Blue
#12c8ba  rgb(18, 200, 186)  hsl(175, 83%, 43%)  Medium Turquoise
#ba12c8  rgb(186, 18, 200)  hsl(295, 83%, 43%)  Dark Orchid