#C8BA08

#c8ba08 ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#c8ba08 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 72.94% green and 3.14% blue; printed in CMYK it uses 0% cyan, 7% magenta, 96% yellow and 21.57% black. Its hue angle is 55.62°, with 92.31% saturation and 40.78% 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.48:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #c8ba08 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.4741

Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.48: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 #d1ba23 ≈ 1.27% of males
Tritanopia #d8ac9e ≈ 0.0001% of males
Protanomaly #cab600 ≈ 1.08% of males
Deuteranomaly #cdba1b ≈ 4.63% of males
Tritanomaly #d2b27d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8ba08 {
  color: #c8ba08;
}
Background
.bg-c8ba08 {
  background-color: #c8ba08;
  color: #000000;
}
Border
.border-c8ba08 {
  border: 2px solid #c8ba08;
}
CSS variables
:root {
  --color-primary: #c8ba08;
  --color-primary-rgb: 200 186 8;
  --color-primary-hsl: 56 92% 41%;
}
Gradient
.gradient-c8ba08 {
  background: linear-gradient(135deg, #c8ba08, #76c808);
}
Colored shadow
.shadow-c8ba08 {
  box-shadow: 0 8px 24px rgb(200 186 8 / 0.35);
}

Old Gold
#c8ba08  rgb(200, 186, 8)  hsl(56, 92%, 41%)  Old Gold
#0816c8  rgb(8, 22, 200)  hsl(236, 92%, 41%)  Medium Blue
#08c8ba  rgb(8, 200, 186)  hsl(176, 92%, 41%)  Medium Turquoise
#ba08c8  rgb(186, 8, 200)  hsl(296, 92%, 41%)  Dark Orchid