#DCD406

#dcd406 ≈ Citrine

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

#dcd406 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 83.14% green and 2.35% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 97.27% yellow and 13.73% black. Its hue angle is 57.76°, with 94.69% saturation and 44.31% 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.46:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.87.

Description generated from the measured properties of this color.

Conversions of #dcd406 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.6232

Readable text 1.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cfcfcf ≈ 0.003% of males
Achromatomaly #d4d1a5 ≈ 0.001% of males
Protanopia #e7cb00 ≈ 1.01% of males
Deuteranopia #ebd228 ≈ 1.27% of males
Tritanopia #edc5b4 ≈ 0.0001% of males
Protanomaly #e3cf00 ≈ 1.08% of males
Deuteranomaly #e5d31f ≈ 4.63% of males
Tritanomaly #e6cb8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcd406 {
  color: #dcd406;
}
Background
.bg-dcd406 {
  background-color: #dcd406;
  color: #000000;
}
Border
.border-dcd406 {
  border: 2px solid #dcd406;
}
CSS variables
:root {
  --color-primary: #dcd406;
  --color-primary-rgb: 220 212 6;
  --color-primary-hsl: 58 95% 44%;
}
Gradient
.gradient-dcd406 {
  background: linear-gradient(135deg, #dcd406, #79dc06);
}
Colored shadow
.shadow-dcd406 {
  box-shadow: 0 8px 24px rgb(220 212 6 / 0.35);
}

Citrine
#dcd406  rgb(220, 212, 6)  hsl(58, 95%, 44%)  Citrine
#060edc  rgb(6, 14, 220)  hsl(238, 95%, 44%)  Medium Blue
#06dcd4  rgb(6, 220, 212)  hsl(178, 95%, 44%)  Bright Turquoise
#d406dc  rgb(212, 6, 220)  hsl(298, 95%, 44%)  Electric Purple