#DCA402

#dca402 ≈ Goldenrod

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

#dca402 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 0.78% blue; printed in CMYK it uses 0% cyan, 25.45% magenta, 99.09% yellow and 13.73% black. Its hue angle is 44.59°, with 98.2% saturation and 43.53% 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.35:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.26.

Description generated from the measured properties of this color.

Conversions of #dca402 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.4177

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

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #c2a989 ≈ 0.001% of males
Protanopia #bba500 ≈ 1.01% of males
Deuteranopia #c9b316 ≈ 1.27% of males
Tritanopia #f0928c ≈ 0.0001% of males
Protanomaly #c9a400 ≈ 1.08% of males
Deuteranomaly #d1ad10 ≈ 4.63% of males
Tritanomaly #e89a6e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#dca402  rgb(220, 164, 2)  hsl(45, 98%, 44%)  Goldenrod
#023adc  rgb(2, 58, 220)  hsl(225, 98%, 44%)  Persian Blue
#02dca4  rgb(2, 220, 164)  hsl(165, 98%, 44%)  Caribbean Green
#a402dc  rgb(164, 2, 220)  hsl(285, 98%, 44%)  Dark Violet