#DCD804

#dcd804 ≈ Dandelion

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

#dcd804 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 84.71% green and 1.57% blue; printed in CMYK it uses 0% cyan, 1.82% magenta, 98.18% yellow and 13.73% black. Its hue angle is 58.89°, 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 13.87:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 3.54.

Description generated from the measured properties of this color.

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

Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d2d2d2 ≈ 0.003% of males
Achromatomaly #d6d4a7 ≈ 0.001% of males
Protanopia #ebcf00 ≈ 1.01% of males
Deuteranopia #eed529 ≈ 1.27% of males
Tritanopia #edc9b8 ≈ 0.0001% of males
Protanomaly #e5d200 ≈ 1.08% of males
Deuteranomaly #e7d61f ≈ 4.63% of males
Tritanomaly #e6cf92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dandelion
#dcd804  rgb(220, 216, 4)  hsl(59, 96%, 44%)  Dandelion
#0408dc  rgb(4, 8, 220)  hsl(239, 96%, 44%)  Medium Blue
#04dcd8  rgb(4, 220, 216)  hsl(179, 96%, 44%)  Medium Turquoise
#d804dc  rgb(216, 4, 220)  hsl(299, 96%, 44%)  Electric Purple