#CCB008

#ccb008 ≈ Old Gold

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

#ccb008 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 69.02% green and 3.14% blue; printed in CMYK it uses 0% cyan, 13.73% magenta, 96.08% yellow and 20% black. Its hue angle is 51.43°, with 92.45% saturation and 41.57% 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.78:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.09.

Description generated from the measured properties of this color.

Conversions of #ccb008 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.4391

Readable text 2.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #bcb18d ≈ 0.001% of males
Protanopia #c3ac00 ≈ 1.01% of males
Deuteranopia #cbb51f ≈ 1.27% of males
Tritanopia #dda196 ≈ 0.0001% of males
Protanomaly #c7ad00 ≈ 1.08% of males
Deuteranomaly #cbb318 ≈ 4.63% of males
Tritanomaly #d7a777 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccb008 {
  color: #ccb008;
}
Background
.bg-ccb008 {
  background-color: #ccb008;
  color: #000000;
}
Border
.border-ccb008 {
  border: 2px solid #ccb008;
}
CSS variables
:root {
  --color-primary: #ccb008;
  --color-primary-rgb: 204 176 8;
  --color-primary-hsl: 51 92% 42%;
}
Gradient
.gradient-ccb008 {
  background: linear-gradient(135deg, #ccb008, #86cc08);
}
Colored shadow
.shadow-ccb008 {
  box-shadow: 0 8px 24px rgb(204 176 8 / 0.35);
}

Old Gold
#ccb008  rgb(204, 176, 8)  hsl(51, 92%, 42%)  Old Gold
#0824cc  rgb(8, 36, 204)  hsl(231, 92%, 42%)  Medium Blue
#08ccb0  rgb(8, 204, 176)  hsl(171, 92%, 42%)  Medium Aquamarine
#b008cc  rgb(176, 8, 204)  hsl(291, 92%, 42%)  Dark Orchid