#CCBC04

#ccbc04 ≈ Old Gold

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

#ccbc04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 73.73% green and 1.57% blue; printed in CMYK it uses 0% cyan, 7.84% magenta, 98.04% yellow and 20% black. Its hue angle is 55.2°, with 96.15% 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.76:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.69.

Description generated from the measured properties of this color.

Conversions of #ccbc04 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.4881

Readable text 1.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c1bb93 ≈ 0.001% of males
Protanopia #cfb500 ≈ 1.01% of males
Deuteranopia #d3bd22 ≈ 1.27% of males
Tritanopia #dcaea0 ≈ 0.0001% of males
Protanomaly #ceb800 ≈ 1.08% of males
Deuteranomaly #d0bc19 ≈ 4.63% of males
Tritanomaly #d6b47f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccbc04 {
  color: #ccbc04;
}
Background
.bg-ccbc04 {
  background-color: #ccbc04;
  color: #000000;
}
Border
.border-ccbc04 {
  border: 2px solid #ccbc04;
}
CSS variables
:root {
  --color-primary: #ccbc04;
  --color-primary-rgb: 204 188 4;
  --color-primary-hsl: 55 96% 41%;
}
Gradient
.gradient-ccbc04 {
  background: linear-gradient(135deg, #ccbc04, #78cc04);
}
Colored shadow
.shadow-ccbc04 {
  box-shadow: 0 8px 24px rgb(204 188 4 / 0.35);
}

Old Gold
#ccbc04  rgb(204, 188, 4)  hsl(55, 96%, 41%)  Old Gold
#0414cc  rgb(4, 20, 204)  hsl(235, 96%, 41%)  Medium Blue
#04ccbc  rgb(4, 204, 188)  hsl(175, 96%, 41%)  Medium Turquoise
#bc04cc  rgb(188, 4, 204)  hsl(295, 96%, 41%)  Dark Orchid