#DCB204

#dcb204 ≈ Metallic Gold

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

#dcb204 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 69.8% green and 1.57% blue; printed in CMYK it uses 0% cyan, 19.09% magenta, 98.18% yellow and 13.73% black. Its hue angle is 48.33°, with 96.43% saturation and 43.92% 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.41:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.39.

Description generated from the measured properties of this color.

Conversions of #dcb204 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9900
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4707

Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b6b6b6 ≈ 0.003% of males
Achromatomaly #c7b591 ≈ 0.001% of males
Protanopia #c8b000 ≈ 1.01% of males
Deuteranopia #d2bc1c ≈ 1.27% of males
Tritanopia #efa197 ≈ 0.0001% of males
Protanomaly #d0b100 ≈ 1.08% of males
Deuteranomaly #d6b815 ≈ 4.63% of males
Tritanomaly #e8a878 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcb204 {
  color: #dcb204;
}
Background
.bg-dcb204 {
  background-color: #dcb204;
  color: #000000;
}
Border
.border-dcb204 {
  border: 2px solid #dcb204;
}
CSS variables
:root {
  --color-primary: #dcb204;
  --color-primary-rgb: 220 178 4;
  --color-primary-hsl: 48 96% 44%;
}
Gradient
.gradient-dcb204 {
  background: linear-gradient(135deg, #dcb204, #9adc04);
}
Colored shadow
.shadow-dcb204 {
  box-shadow: 0 8px 24px rgb(220 178 4 / 0.35);
}

Metallic Gold
#dcb204  rgb(220, 178, 4)  hsl(48, 96%, 44%)  Metallic Gold
#042edc  rgb(4, 46, 220)  hsl(228, 96%, 44%)  Persian Blue
#04dcb2  rgb(4, 220, 178)  hsl(168, 96%, 44%)  Caribbean Green
#b204dc  rgb(178, 4, 220)  hsl(288, 96%, 44%)  Dark Orchid