#DCA40C

#dca40c ≈ Goldenrod

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

#dca40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 64.31% green and 4.71% blue; printed in CMYK it uses 0% cyan, 25.45% magenta, 94.55% yellow and 13.73% black. Its hue angle is 43.85°, 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 9.36:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.03.

Description generated from the measured properties of this color.

Conversions of #dca40c 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.4179

Readable text 2.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #c2a98a ≈ 0.001% of males
Protanopia #bba500 ≈ 1.01% of males
Deuteranopia #c9b31b ≈ 1.27% of males
Tritanopia #f0938c ≈ 0.0001% of males
Protanomaly #c9a400 ≈ 1.08% of males
Deuteranomaly #d1ad16 ≈ 4.63% of males
Tritanomaly #e89a6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#dca40c  rgb(220, 164, 12)  hsl(44, 90%, 45%)  Goldenrod
#0c44dc  rgb(12, 68, 220)  hsl(224, 90%, 45%)  Persian Blue
#0cdca4  rgb(12, 220, 164)  hsl(164, 90%, 45%)  Caribbean Green
#a40cdc  rgb(164, 12, 220)  hsl(284, 90%, 45%)  Dark Orchid