#DCBC0C

#dcbc0c ≈ Old Gold

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

#dcbc0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 73.73% green and 4.71% blue; printed in CMYK it uses 0% cyan, 14.55% magenta, 94.55% yellow and 13.73% black. Its hue angle is 50.77°, with 89.66% saturation and 45.49% 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 11.24:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #dcbc0c 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.5121

Readable text 1.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.24:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #cabd97 ≈ 0.001% of males
Protanopia #d1b800 ≈ 1.01% of males
Deuteranopia #d9c223 ≈ 1.27% of males
Tritanopia #efaca0 ≈ 0.0001% of males
Protanomaly #d5b900 ≈ 1.08% of males
Deuteranomaly #dac01c ≈ 4.63% of males
Tritanomaly #e7b37f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcbc0c {
  color: #dcbc0c;
}
Background
.bg-dcbc0c {
  background-color: #dcbc0c;
  color: #000000;
}
Border
.border-dcbc0c {
  border: 2px solid #dcbc0c;
}
CSS variables
:root {
  --color-primary: #dcbc0c;
  --color-primary-rgb: 220 188 12;
  --color-primary-hsl: 51 90% 45%;
}
Gradient
.gradient-dcbc0c {
  background: linear-gradient(135deg, #dcbc0c, #94dc0c);
}
Colored shadow
.shadow-dcbc0c {
  box-shadow: 0 8px 24px rgb(220 188 12 / 0.35);
}

Old Gold
#dcbc0c  rgb(220, 188, 12)  hsl(51, 90%, 45%)  Old Gold
#0c2cdc  rgb(12, 44, 220)  hsl(231, 90%, 45%)  Blue
#0cdcbc  rgb(12, 220, 188)  hsl(171, 90%, 45%)  Turquoise
#bc0cdc  rgb(188, 12, 220)  hsl(291, 90%, 45%)  Electric Purple