#DCB540

#dcb540 ≈ Metallic Gold

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

#dcb540 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 70.98% green and 25.1% blue; printed in CMYK it uses 0% cyan, 17.73% magenta, 70.91% yellow and 13.73% black. Its hue angle is 45°, with 69.03% saturation and 55.69% 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.73:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.83.

Description generated from the measured properties of this color.

Conversions of #dcb540 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.4863

Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #c8b898 ≈ 0.001% of males
Protanopia #c9b32f ≈ 1.01% of males
Deuteranopia #d3be46 ≈ 1.27% of males
Tritanopia #eea69d ≈ 0.0001% of males
Protanomaly #d1b437 ≈ 1.08% of males
Deuteranomaly #d6ba44 ≈ 4.63% of males
Tritanomaly #e7ac82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcb540 {
  color: #dcb540;
}
Background
.bg-dcb540 {
  background-color: #dcb540;
  color: #000000;
}
Border
.border-dcb540 {
  border: 2px solid #dcb540;
}
CSS variables
:root {
  --color-primary: #dcb540;
  --color-primary-rgb: 220 181 64;
  --color-primary-hsl: 45 69% 56%;
}
Gradient
.gradient-dcb540 {
  background: linear-gradient(135deg, #dcb540, #b5dc40);
}
Colored shadow
.shadow-dcb540 {
  box-shadow: 0 8px 24px rgb(220 181 64 / 0.35);
}

Metallic Gold
#dcb540  rgb(220, 181, 64)  hsl(45, 69%, 56%)  Metallic Gold
#4067dc  rgb(64, 103, 220)  hsl(225, 69%, 56%)  Royal Blue
#40dcb5  rgb(64, 220, 181)  hsl(165, 69%, 56%)  Medium Aquamarine
#b540dc  rgb(181, 64, 220)  hsl(285, 69%, 56%)  Medium Orchid