#DFD904

#dfd904 ≈ Dandelion

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

#dfd904 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 85.1% green and 1.57% blue; printed in CMYK it uses 0% cyan, 2.69% magenta, 98.21% yellow and 12.55% black. Its hue angle is 58.36°, with 96.48% saturation and 44.51% 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 14.06:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 3.05.

Description generated from the measured properties of this color.

Conversions of #dfd904 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.6532

Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 14.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d3d3d3 ≈ 0.003% of males
Achromatomaly #d8d6a8 ≈ 0.001% of males
Protanopia #ecd000 ≈ 1.01% of males
Deuteranopia #f0d629 ≈ 1.27% of males
Tritanopia #f0cab9 ≈ 0.0001% of males
Protanomaly #e7d400 ≈ 1.08% of males
Deuteranomaly #e9d71f ≈ 4.63% of males
Tritanomaly #ead093 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfd904 {
  color: #dfd904;
}
Background
.bg-dfd904 {
  background-color: #dfd904;
  color: #000000;
}
Border
.border-dfd904 {
  border: 2px solid #dfd904;
}
CSS variables
:root {
  --color-primary: #dfd904;
  --color-primary-rgb: 223 217 4;
  --color-primary-hsl: 58 96% 45%;
}
Gradient
.gradient-dfd904 {
  background: linear-gradient(135deg, #dfd904, #77df04);
}
Colored shadow
.shadow-dfd904 {
  box-shadow: 0 8px 24px rgb(223 217 4 / 0.35);
}

Dandelion
#dfd904  rgb(223, 217, 4)  hsl(58, 96%, 45%)  Dandelion
#040adf  rgb(4, 10, 223)  hsl(238, 96%, 45%)  Medium Blue
#04dfd9  rgb(4, 223, 217)  hsl(178, 96%, 45%)  Bright Turquoise
#d904df  rgb(217, 4, 223)  hsl(298, 96%, 45%)  Electric Purple