#DCBC2A

#dcbc2a ≈ Old Gold

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

#dcbc2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 73.73% green and 16.47% blue; printed in CMYK it uses 0% cyan, 14.55% magenta, 80.91% yellow and 13.73% black. Its hue angle is 49.21°, with 71.77% saturation and 51.37% 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 11.27:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #dcbc2a 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.5135

Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #cbbd99 ≈ 0.001% of males
Protanopia #d0b800 ≈ 1.01% of males
Deuteranopia #d9c235 ≈ 1.27% of males
Tritanopia #eeada1 ≈ 0.0001% of males
Protanomaly #d5ba15 ≈ 1.08% of males
Deuteranomaly #dac031 ≈ 4.63% of males
Tritanomaly #e7b382 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#dcbc2a  rgb(220, 188, 42)  hsl(49, 72%, 51%)  Old Gold
#2a4adc  rgb(42, 74, 220)  hsl(229, 72%, 51%)  Iris
#2adcbc  rgb(42, 220, 188)  hsl(169, 72%, 51%)  Turquoise
#bc2adc  rgb(188, 42, 220)  hsl(289, 72%, 51%)  Electric Purple