#DCA40F

#dca40f ≈ Goldenrod

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

#dca40f 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 5.88% blue; printed in CMYK it uses 0% cyan, 25.45% magenta, 93.18% yellow and 13.73% black. Its hue angle is 43.61°, with 87.23% saturation and 46.08% 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 0.96.

Description generated from the measured properties of this color.

Conversions of #dca40f 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.418

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 #c9b31d ≈ 1.27% of males
Tritanopia #f0938c ≈ 0.0001% of males
Protanomaly #c9a400 ≈ 1.08% of males
Deuteranomaly #d1ad18 ≈ 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-dca40f {
  color: #dca40f;
}
Background
.bg-dca40f {
  background-color: #dca40f;
  color: #000000;
}
Border
.border-dca40f {
  border: 2px solid #dca40f;
}
CSS variables
:root {
  --color-primary: #dca40f;
  --color-primary-rgb: 220 164 15;
  --color-primary-hsl: 44 87% 46%;
}
Gradient
.gradient-dca40f {
  background: linear-gradient(135deg, #dca40f, #aedc0f);
}
Colored shadow
.shadow-dca40f {
  box-shadow: 0 8px 24px rgb(220 164 15 / 0.35);
}

Goldenrod
#dca40f  rgb(220, 164, 15)  hsl(44, 87%, 46%)  Goldenrod
#0f47dc  rgb(15, 71, 220)  hsl(224, 87%, 46%)  Persian Blue
#0fdca4  rgb(15, 220, 164)  hsl(164, 87%, 46%)  Caribbean Green
#a40fdc  rgb(164, 15, 220)  hsl(284, 87%, 46%)  Dark Orchid