#DCD508

#dcd508 ≈ Citrine

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

#dcd508 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.53% green and 3.14% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 96.36% yellow and 13.73% black. Its hue angle is 58.02°, with 92.98% saturation and 44.71% 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.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #dcd508 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.6282

Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #d0d0d0 ≈ 0.003% of males
Achromatomaly #d5d2a5 ≈ 0.001% of males
Protanopia #e8cc00 ≈ 1.01% of males
Deuteranopia #ecd329 ≈ 1.27% of males
Tritanopia #edc6b5 ≈ 0.0001% of males
Protanomaly #e3d000 ≈ 1.08% of males
Deuteranomaly #e5d420 ≈ 4.63% of males
Tritanomaly #e6cc90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#dcd508  rgb(220, 213, 8)  hsl(58, 93%, 45%)  Citrine
#080fdc  rgb(8, 15, 220)  hsl(238, 93%, 45%)  Medium Blue
#08dcd5  rgb(8, 220, 213)  hsl(178, 93%, 45%)  Bright Turquoise
#d508dc  rgb(213, 8, 220)  hsl(298, 93%, 45%)  Electric Purple