#CCB20A

#ccb20a ≈ Old Gold

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

#ccb20a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 69.8% green and 3.92% blue; printed in CMYK it uses 0% cyan, 12.75% magenta, 95.1% yellow and 20% black. Its hue angle is 51.96°, with 90.65% saturation and 41.96% 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.94:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #ccb20a 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.447

Readable text 2.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b2b2b2 ≈ 0.003% of males
Achromatomaly #bdb28e ≈ 0.001% of males
Protanopia #c5ad00 ≈ 1.01% of males
Deuteranopia #ccb621 ≈ 1.27% of males
Tritanopia #dda397 ≈ 0.0001% of males
Protanomaly #c8af00 ≈ 1.08% of males
Deuteranomaly #ccb51a ≈ 4.63% of males
Tritanomaly #d6a978 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccb20a {
  color: #ccb20a;
}
Background
.bg-ccb20a {
  background-color: #ccb20a;
  color: #000000;
}
Border
.border-ccb20a {
  border: 2px solid #ccb20a;
}
CSS variables
:root {
  --color-primary: #ccb20a;
  --color-primary-rgb: 204 178 10;
  --color-primary-hsl: 52 91% 42%;
}
Gradient
.gradient-ccb20a {
  background: linear-gradient(135deg, #ccb20a, #85cc0a);
}
Colored shadow
.shadow-ccb20a {
  box-shadow: 0 8px 24px rgb(204 178 10 / 0.35);
}

Old Gold
#ccb20a  rgb(204, 178, 10)  hsl(52, 91%, 42%)  Old Gold
#0a24cc  rgb(10, 36, 204)  hsl(232, 91%, 42%)  Medium Blue
#0accb2  rgb(10, 204, 178)  hsl(172, 91%, 42%)  Medium Aquamarine
#b20acc  rgb(178, 10, 204)  hsl(292, 91%, 42%)  Dark Orchid