#CCBC21

#ccbc21 ≈ Old Gold

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

#ccbc21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 73.73% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.84% magenta, 83.82% yellow and 20% black. Its hue angle is 54.39°, with 72.15% saturation and 46.47% 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.78:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.99.

Description generated from the measured properties of this color.

Conversions of #ccbc21 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.4891

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

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c1bb95 ≈ 0.001% of males
Protanopia #ceb600 ≈ 1.01% of males
Deuteranopia #d3bd30 ≈ 1.27% of males
Tritanopia #dcaea1 ≈ 0.0001% of males
Protanomaly #cdb800 ≈ 1.08% of males
Deuteranomaly #d0bd2a ≈ 4.63% of males
Tritanomaly #d6b481 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccbc21 {
  color: #ccbc21;
}
Background
.bg-ccbc21 {
  background-color: #ccbc21;
  color: #000000;
}
Border
.border-ccbc21 {
  border: 2px solid #ccbc21;
}
CSS variables
:root {
  --color-primary: #ccbc21;
  --color-primary-rgb: 204 188 33;
  --color-primary-hsl: 54 72% 46%;
}
Gradient
.gradient-ccbc21 {
  background: linear-gradient(135deg, #ccbc21, #86cc21);
}
Colored shadow
.shadow-ccbc21 {
  box-shadow: 0 8px 24px rgb(204 188 33 / 0.35);
}

Old Gold
#ccbc21  rgb(204, 188, 33)  hsl(54, 72%, 46%)  Old Gold
#2131cc  rgb(33, 49, 204)  hsl(234, 72%, 46%)  Persian Blue
#21ccbc  rgb(33, 204, 188)  hsl(174, 72%, 46%)  Medium Turquoise
#bc21cc  rgb(188, 33, 204)  hsl(294, 72%, 46%)  Dark Orchid