#C8B212

#c8b212 ≈ Old Gold

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

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

Description generated from the measured properties of this color.

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

Readable text 2.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #bbb28d ≈ 0.001% of males
Protanopia #c5ad00 ≈ 1.01% of males
Deuteranopia #cbb525 ≈ 1.27% of males
Tritanopia #d8a498 ≈ 0.0001% of males
Protanomaly #c6af00 ≈ 1.08% of males
Deuteranomaly #cab41e ≈ 4.63% of males
Tritanomaly #d2aa79 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#c8b212  rgb(200, 178, 18)  hsl(53, 83%, 43%)  Old Gold
#1228c8  rgb(18, 40, 200)  hsl(233, 83%, 43%)  Persian Blue
#12c8b2  rgb(18, 200, 178)  hsl(173, 83%, 43%)  Turquoise
#b212c8  rgb(178, 18, 200)  hsl(293, 83%, 43%)  Dark Orchid