#CCBB0B

#ccbb0b ≈ Old Gold

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

#ccbb0b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 73.33% green and 4.31% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 94.61% yellow and 20% black. Its hue angle is 54.72°, with 89.77% saturation and 42.16% 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.68:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #ccbb0b 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.484

Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #c1ba93 ≈ 0.001% of males
Protanopia #ceb500 ≈ 1.01% of males
Deuteranopia #d3bc24 ≈ 1.27% of males
Tritanopia #ddad9f ≈ 0.0001% of males
Protanomaly #cdb700 ≈ 1.08% of males
Deuteranomaly #d0bc1c ≈ 4.63% of males
Tritanomaly #d6b37e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccbb0b {
  color: #ccbb0b;
}
Background
.bg-ccbb0b {
  background-color: #ccbb0b;
  color: #000000;
}
Border
.border-ccbb0b {
  border: 2px solid #ccbb0b;
}
CSS variables
:root {
  --color-primary: #ccbb0b;
  --color-primary-rgb: 204 187 11;
  --color-primary-hsl: 55 90% 42%;
}
Gradient
.gradient-ccbb0b {
  background: linear-gradient(135deg, #ccbb0b, #7ccc0b);
}
Colored shadow
.shadow-ccbb0b {
  box-shadow: 0 8px 24px rgb(204 187 11 / 0.35);
}

Old Gold
#ccbb0b  rgb(204, 187, 11)  hsl(55, 90%, 42%)  Old Gold
#0b1ccc  rgb(11, 28, 204)  hsl(235, 90%, 42%)  Medium Blue
#0bccbb  rgb(11, 204, 187)  hsl(175, 90%, 42%)  Medium Turquoise
#bb0bcc  rgb(187, 11, 204)  hsl(295, 90%, 42%)  Dark Orchid