#C8B222

#c8b222 ≈ Old Gold

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

#c8b222 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 13.33% blue; printed in CMYK it uses 0% cyan, 11% magenta, 83% yellow and 21.57% black. Its hue angle is 52.05°, with 70.94% saturation and 45.88% 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 9.85:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.37.

Description generated from the measured properties of this color.

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

Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #bbb28e ≈ 0.001% of males
Protanopia #c4ad00 ≈ 1.01% of males
Deuteranopia #cab52e ≈ 1.27% of males
Tritanopia #d8a498 ≈ 0.0001% of males
Protanomaly #c6af08 ≈ 1.08% of males
Deuteranomaly #c9b42a ≈ 4.63% of males
Tritanomaly #d2aa7a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c8b222 {
  color: #c8b222;
}
Background
.bg-c8b222 {
  background-color: #c8b222;
  color: #000000;
}
Border
.border-c8b222 {
  border: 2px solid #c8b222;
}
CSS variables
:root {
  --color-primary: #c8b222;
  --color-primary-rgb: 200 178 34;
  --color-primary-hsl: 52 71% 46%;
}
Gradient
.gradient-c8b222 {
  background: linear-gradient(135deg, #c8b222, #8bc822);
}
Colored shadow
.shadow-c8b222 {
  box-shadow: 0 8px 24px rgb(200 178 34 / 0.35);
}

Old Gold
#c8b222  rgb(200, 178, 34)  hsl(52, 71%, 46%)  Old Gold
#2238c8  rgb(34, 56, 200)  hsl(232, 71%, 46%)  Persian Blue
#22c8b2  rgb(34, 200, 178)  hsl(172, 71%, 46%)  Medium Aquamarine
#b222c8  rgb(178, 34, 200)  hsl(292, 71%, 46%)  Dark Orchid