#DCD731

#dcd731 ≈ Dandelion

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dcd731 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 84.31% green and 19.22% blue; printed in CMYK it uses 0% cyan, 2.27% magenta, 77.73% yellow and 13.73% black. Its hue angle is 58.25°, with 70.95% saturation and 52.75% 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 brand accents. Black text on this color reaches a contrast ratio of 13.81:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 3.68.

Description generated from the measured properties of this color.

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

Readable text 1.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d1d1d1 ≈ 0.003% of males
Achromatomaly #d6d4a9 ≈ 0.001% of males
Protanopia #e9ce00 ≈ 1.01% of males
Deuteranopia #ecd43f ≈ 1.27% of males
Tritanopia #ecc9b9 ≈ 0.0001% of males
Protanomaly #e4d21a ≈ 1.08% of males
Deuteranomaly #e6d53a ≈ 4.63% of males
Tritanomaly #e6ce95 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd731 {
  color: #dcd731;
}
Background
.bg-dcd731 {
  background-color: #dcd731;
  color: #000000;
}
Border
.border-dcd731 {
  border: 2px solid #dcd731;
}
CSS variables
:root {
  --color-primary: #dcd731;
  --color-primary-rgb: 220 215 49;
  --color-primary-hsl: 58 71% 53%;
}
Gradient
.gradient-dcd731 {
  background: linear-gradient(135deg, #dcd731, #8bdc31);
}
Colored shadow
.shadow-dcd731 {
  box-shadow: 0 8px 24px rgb(220 215 49 / 0.35);
}

Dandelion
#dcd731  rgb(220, 215, 49)  hsl(58, 71%, 53%)  Dandelion
#3136dc  rgb(49, 54, 220)  hsl(238, 71%, 53%)  Persian Blue
#31dcd7  rgb(49, 220, 215)  hsl(178, 71%, 53%)  Medium Turquoise
#d731dc  rgb(215, 49, 220)  hsl(298, 71%, 53%)  Medium Orchid