#CCB520

#ccb520 ≈ Old Gold

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

#ccb520 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 11.27% magenta, 84.31% yellow and 20% black. Its hue angle is 51.98°, with 72.88% saturation and 46.27% 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.2:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.33.

Description generated from the measured properties of this color.

Conversions of #ccb520 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.4599

Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.2:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b5b5b5 ≈ 0.003% of males
Achromatomaly #beb591 ≈ 0.001% of males
Protanopia #c8b000 ≈ 1.01% of males
Deuteranopia #ceb82d ≈ 1.27% of males
Tritanopia #dda79b ≈ 0.0001% of males
Protanomaly #c9b200 ≈ 1.08% of males
Deuteranomaly #cdb729 ≈ 4.63% of males
Tritanomaly #d6ad7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccb520 {
  color: #ccb520;
}
Background
.bg-ccb520 {
  background-color: #ccb520;
  color: #000000;
}
Border
.border-ccb520 {
  border: 2px solid #ccb520;
}
CSS variables
:root {
  --color-primary: #ccb520;
  --color-primary-rgb: 204 181 32;
  --color-primary-hsl: 52 73% 46%;
}
Gradient
.gradient-ccb520 {
  background: linear-gradient(135deg, #ccb520, #8dcc20);
}
Colored shadow
.shadow-ccb520 {
  box-shadow: 0 8px 24px rgb(204 181 32 / 0.35);
}

Old Gold
#ccb520  rgb(204, 181, 32)  hsl(52, 73%, 46%)  Old Gold
#2037cc  rgb(32, 55, 204)  hsl(232, 73%, 46%)  Persian Blue
#20ccb5  rgb(32, 204, 181)  hsl(172, 73%, 46%)  Turquoise
#b520cc  rgb(181, 32, 204)  hsl(292, 73%, 46%)  Dark Orchid