#CCBD04

#ccbd04 ≈ Old Gold

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

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

Description generated from the measured properties of this color.

Conversions of #ccbd04 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.4924

Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c2bb94 ≈ 0.001% of males
Protanopia #cfb600 ≈ 1.01% of males
Deuteranopia #d4bd22 ≈ 1.27% of males
Tritanopia #dcafa1 ≈ 0.0001% of males
Protanomaly #ceb900 ≈ 1.08% of males
Deuteranomaly #d1bd19 ≈ 4.63% of males
Tritanomaly #d6b57f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#ccbd04  rgb(204, 189, 4)  hsl(56, 96%, 41%)  Old Gold
#0413cc  rgb(4, 19, 204)  hsl(236, 96%, 41%)  Medium Blue
#04ccbd  rgb(4, 204, 189)  hsl(176, 96%, 41%)  Medium Turquoise
#bd04cc  rgb(189, 4, 204)  hsl(296, 96%, 41%)  Dark Orchid